| Open Declaration/Selection (F3) Doesn't Work on JSPs [message #542101] |
Wed, 23 June 2010 16:55  |
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   |
 |
Nitin Dahyabhai Messages: 1847 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
|
|
|
|
Powered by
FUDForum. Page generated in 0.01615 seconds