user304825
user304825

Reputation: 83

Changing the way packages are displayed in eclipse

Currently my eclipse source folder display the entire package path and java files under that path. Is there some setting that i change and see subpackages+(java)files under parent packages.

for e.g.

src/main/java
   com.company.packageA
       a.java
   com.company.packageA.subpackageA
       suba.java

becomes

src/main/java
   com.company.packageA
       subpackageA
       a.java

Upvotes: 3

Views: 245

Answers (1)

Pascal Thivent
Pascal Thivent

Reputation: 570585

In the Project Explorer view, click on the little triangle on the right then select Package Presentation > Hierarchical as illustrated below:

alt text http://img202.imageshack.us/img202/282/screenshot004n.png

Upvotes: 4

Related Questions