How can I get Netbeans to automatically select (highlight) the currernt file in the Project window? Whenever I select a file in an editor tab I would like the project window to move to that file (expand parent packages/directories if necessary).
At work it has always done this but at home it does not. I figure there is a configuration option somewhere but I can't find it. I run the same version at home as at work (6.9) the only differences being I use Windows at work and Linux at home and my Netbeans install at work was upgraded from 6.8 while my 6.9 install at home is fresh.
The Navigator window provides a compact view of the file that is currently selected, and simplifies navigation between different parts of the file. If the Navigator window is not displayed, choose Window > Navigating > Navigator to open it. Click anywhere in the quote.cc file in the Editor window.
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 .
The project directory is just a place where you've custom-specified the netbeans projects storage. But, the sub-directory myapp is simply one of the project name of your NetBeans projects which is to be stored inside the parent NetBeans projects directory (D:\dev\java\project) here.
Try View
→ Synchronize Editor with Views
(it should be selected)
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