Eclipse now shows only one method in the editor area after clicking on a method in the Package Explorer view, how can I reset to work fine?

In the Eclipse Package Explorer (Helios version), you can go to the Java class and view its methods and list of participants. Until recently, if I clicked on the name of the method in the package explorer, the whole class file would open (if it was not already open), and the cursor would be in the method I just clicked, but the whole class file would also be in the editor, and I could scroll up or down any other part of the class file. Now, however, when I click on a method, I get an editor panel that contains only the code for this method. If the editor panel for the class file has already been opened, it will be overwritten with code only for the method that I clicked in the Package Explorer view, and I need to close the panel and re-click the name of the top-level class file to view the contents of the entire file. Very annoying.

I am not sure what caused this, but recently I added the Aptana plugin to Eclipse, which seems to have neutralized some settings / settings, so I deleted this plugin, assuming that I will return to where I was before, Unfortunately, the above problem persists. as well as some other minor irritations, such as discolored, etc.

Can anyone suggest how I would try to return the old Explorer package label method to default? Perhaps I can return to the settings that I had before I installed the Aptana plugin?

Thanks in advance for your help!

+6
source share
1 answer

Go to Settings → Java → Editor and uncheck "Show only selected Java item."

This is a hidden preference. I once happened to me in completely different circumstances, and it took me several hours to find the answer.

+25
source

Source: https://habr.com/ru/post/894414/


All Articles