Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Eclipse showing partial files
Eclipse showing partial files [message #667894] Mon, 02 May 2011 16:00 Go to next message
asafbu is currently offline asafbuFriend
Messages: 2
Registered: May 2011
Junior Member
Hello,

When I press F3 (Open Description with right mouse button), Eclipse takes me to the targeted code but only shows that particular method in the file - no other method within the same class appear on the screen.

However when I access the same file by CTRL-SHIFT R, I get the whole file. Wondering what is missing in my environment?

Can anyone help?

Thanks
Re: Eclipse showing partial files [message #667964 is a reply to message #667894] Tue, 03 May 2011 06:02 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 02.05.2011 18:00, asafbu@hotmail.com wrote:
> Hello,
>
> When I press F3 (Open Description with right mouse button), Eclipse
> takes me to the targeted code but only shows that particular method in
> the file - no other method within the same class appear on the screen.
With F3 you open a Java element and you probably have 'Show Selected
Element Only' toolbar button enabled. If you don't see such a toolbar
button, you can also disable it via Java > Editor > [ ] Only show the
selected Java element preference.
> However when I access the same file by CTRL-SHIFT R, I get the whole
> file. Wondering what is missing in my environment?
This opens the file at position offset 0 and since there's no Java
element at that location, the view is not restricted.

Dani
>
> Can anyone help?
>
> Thanks
Previous Topic:Can I disable the file.encoding VM environment variable in a launch configuration?
Next Topic:Javadoc generation errors using WebLogic System Libraries in build path
Goto Forum:
  


Current Time: Tue Mar 19 06:25:36 GMT 2024

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

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

Back to the top