tags:

views:

21

answers:

1

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
+3  A: 

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

alt text

Pascal Thivent