Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove additional class drop down in Eclipse Project Explorer view?

class drop down

In the Project Explorer view of Eclipse Luna, there's an additional drop down for Java files which represents the class inside the file (the green C icon). It expands when I double click to open a class. I don't need this there. Is there a way to filter this out?

like image 482
badjr Avatar asked Apr 28 '16 16:04

badjr


People also ask

How do I change the project Explorer view in Eclipse?

To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.

How do I manage Package Explorer in Eclipse?

The key to make it organized is to open the Package Explorer's View Menu again and enable Top Level Elements > Working Sets. Then the projects are grouped by working set visually in the package explorer.


2 Answers

Uncheck Preferences / Java / Appearance / "Show members in Package Explorer" checkbox.

It affect both Package and Project explorer.

Preferences windows with that checkbox

like image 89
SVlad Avatar answered Sep 27 '22 23:09

SVlad


It's possible if you use Package Explorer instead of Project Explorer: go to prefs, Java, Appearance and disable "Show members in Package Explorer".

like image 20
user1050755 Avatar answered Sep 27 '22 22:09

user1050755