Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Open Declaration/Selection (F3) Doesn't Work on JSPs
Open Declaration/Selection (F3) Doesn't Work on JSPs [message #542101] Wed, 23 June 2010 16:55 Go to next message
Jeremy  is currently offline Jeremy
Messages: 5
Registered: July 2009
Junior Member
So I love Eclipse, and love the Web Tools Project ... but I have a little problem. Whenever I try and use the Open Selection (aka Open Declaration) tool (more commonly known as CTRL+click or F3) on a JSP variable, Eclipse opens up the generated .java file for that JSP (instead of just taking me to the part of the JSP that declares the variable). Now if I F3 a class in a JSP, Eclipse does take me to that class, and similarly if I F3 a tag it takes me to either the .tag file or the related .tld file, as appropriate. So the only problem is just with variables declared in a JSP.

Has anyone ever seen this before, and if so do you have any ideas on how I could fix it?
Re: Open Declaration/Selection (F3) Doesn't Work on JSPs [message #542260 is a reply to message #542101] Thu, 24 June 2010 07:27 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2237
Registered: July 2009
Senior Member
On 6/23/2010 4:56 PM, Jeremy wrote:
> So I love Eclipse, and love the Web Tools Project ... but I have a
> little problem. Whenever I try and use the Open Selection (aka Open
> Declaration) tool (more commonly known as CTRL+click or F3) on a JSP
> variable, Eclipse opens up the generated .java file for that JSP
> (instead of just taking me to the part of the JSP that declares the
> variable). Now if I F3 a class in a JSP, Eclipse does take me to that
> class, and similarly if I F3 a tag it takes me to either the .tag file
> or the related .tld file, as appropriate. So the only problem is just
> with variables declared in a JSP.
>
> Has anyone ever seen this before, and if so do you have any ideas on how
> I could fix it?

I've seen it before, but not in Helios. Which release are you using?

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Re: Open Declaration/Selection (F3) Doesn't Work on JSPs [message #542369 is a reply to message #542101] Thu, 24 June 2010 12:01 Go to previous message
Jeremy  is currently offline Jeremy
Messages: 5
Registered: July 2009
Junior Member
Galileo; I didn't even realize Helios was out yet Smile Guess it's time for an upgrade ...

Thanks!

[Updated on: Thu, 24 June 2010 12:02]

Report message to a moderator

Previous Topic:No Tomcat Server Adapter for Helios? Really?
Next Topic:JavaScript (JSDT) editor errors as you type not shown in vertical ruler
Goto Forum:
  


Current Time: Thu Jul 31 09:44:42 EDT 2014

Powered by FUDForum. Page generated in 0.01995 seconds