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
Right-click the module project, choose New > File/Folder and choose Window Component from the NetBeans Module Development category. Click Next. Choose editor in the drop-down list and select Open on Application Start.
In NetBeans 8.2 Go to Window->Navigator in menu bar or press Ctrl+7 and select Projects it will open a folder as work space .
To open a local file/folder (as a file-explorer) in Netbeans, in the top menu-bar goto: Window -> Favourites (or press Ctrl+3), this will open 'Favourites' pane, here you can open files or folders (in Linux, by default you will see your 'home' directory).
The root cause is that the java version was upgraded to 11 along with the OS. You can fix this by doing one of the following: Change the default jdk/jre version in the OS to java 8 . Change the jdk version to 8 in Netbeans by changing its configuration (etc/netbeans.
In the Projects window just invoke the context menu by right-clicking on any empty space then click View Java Packages as > Tree.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With