Changing the way packages are displayed in eclipse

Currently, my eclipse source folder displays the entire package path and java files under this path. Are there any settings that I change and see subpackages + (java) files in the parent packages.

eg,

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
source share
1 answer

In the Project Explorer view , click on the small triangle to the right, then select Package Presentation> Hierarchical , as shown below:

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

+4
source

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


All Articles