50

I have some huge NetBeans projects with many packages, sub-packages, sub-sub-packages .etc, and it gets very confusing seeing all these package folders in the flat layout that NetBeans shows.. e.g. a.b.c.d.e.f.g , a.b.c.d.d.e.f.h .etc .etc

Is it possible to have a hierarchical directory (tree?) view, like in IntelliJ IDEA?

Thanks, Jose

José
  • 1,525
  • 3
  • 14
  • 12

2 Answers2

109

In the Projects window just invoke the context menu by right-clicking on any empty space then click View Java Packages as > Tree.

Michael
  • 41,989
  • 11
  • 82
  • 128
JRL
  • 76,767
  • 18
  • 98
  • 146
0

You can go to the source directory in command line, then use "tree" command to see the hierarchy of this project.

htlbydgod
  • 330
  • 2
  • 8