Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 20:55 Go to next message
Jeremy  is currently offline Jeremy Friend
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 11:27 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
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 Web Tools Platform
Re: Open Declaration/Selection (F3) Doesn't Work on JSPs [message #542369 is a reply to message #542101] Thu, 24 June 2010 16:01 Go to previous message
Jeremy  is currently offline Jeremy Friend
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 16:02]

Report message to a moderator

Previous Topic:Open Declaration editor settings
Next Topic:JavaScript (JSDT) editor errors as you type not shown in vertical ruler
Goto Forum:
  


Current Time: Thu Apr 25 06:46:49 GMT 2024

Powered by FUDForum. Page generated in 0.03060 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top