I use Netbeans for my Java work. Up till now I’ve been using Sublime Text for non-Java-project work because Netbeans is heavily focused on the concept of a project and I didn’t realise I could easily edit non-project files from the IDE too. Turns out you can easily edit any file from a directory structure, regardless of whether it is part of a defined Netabeans project, by using the “Favorites” window.
For me, this took Netbeans from being a fantastic Java IDE to being the best thing since sliced bread.
Open up the Favorites window. Right-click in Favorites to add a new directory to the view. Party like it is 1999.