[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.jdt] Re: I lost a button

"Tim Koop" <groups@xxxxxxxxxxx> wrote in message 
news:f9cu81$3m4$1@xxxxxxxxxxxxxxxxxxxx
> I'm not sure if this is the right newsgroups to post this question.  If 
> not, please let me know.
>
> I lost a button from the toolbar.  It's the button that I click to only 
> show one method.  It is stuck on (I can only see one method), and I want 
> to see the comment at the top of the java file, so I want to unclick it.
>
> Can somebody please tell me how to get this button back?  Thanks a lot.


To get the button back, install Eclipse 3.2.2.

That button was removed from the toolbar in Eclipse 3.3, because it was only 
available as a button and not as a preference from a dialog, and people 
would hit it by mistake and then not be able to figure out what happened, 
provoking many a posting on eclipse.newcomers.

If you are using Eclipse 3.3, go to Preferences -> Java -> Editor -> Only 
show the selected element, and turn that off.

In Eclipse 3.2.2 or earlier, the button is only visible if you're viewing a 
Java editor at the time; it's the sort of "document on top of a document" 
icon to the right of the "mark occurrences" button.  Again, it's called 
"show source of selected element" if you dangle over it.