Netbeans - is it possible to see project source folders in a tree (hierarchical) view, rather then a flat view?

José picture José · Feb 8, 2012 · Viewed 18.5k times · Source

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

Answer

JRL picture JRL · Feb 8, 2012

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