A very useful feature of NetBeans is to the project for an opened file.
Imagine the following scenario: You searched for content in java files using the file explorer (or other indexing tool) — instead of opening all projects and using the file search of NB. You open the file directly in NetBeans by copying its full absolute path and pasting it into the “File-> Open File” dialog.
Now you want to open the surrounding project for several reasons.
- You could open the project manually OR
- even easier invoke the action “Navigate->Select in Projects” from the menu bar (or the corresponding shortcut). Now a dialog opens (if a project can be found for the file) and asks for permission to open the project.
Very neat and useful.