NetBeans is an irreplaceable tool for my every day use. Yes, it’s written in boring, slow Java, but the feature set is great and it helps me to get my tasks done without getting in my way. There are some things that could be better or more responsive. One of those things are code scanning and opening files. I like how Sublime Text 2 does the file open (Go to Anything), and this is how to achieve this in NetBeans.
First, without any plugins, you can type ALT + SHIFT + O
which brings up the Go to File dialogue. It is ok, but it doesn’t provide the fuzzy search (you can emulate it by putting * between letters). To achieve fuzzy searching, we need the help of a plug-in called Open File Fast. Plug-in is last reported to run with NetBeans 6.9, but I’m running it with latest, 7.2. To install and configure it, follow these steps:
- Go to http://plugins.netbeans.org/plugin/16495/open-file-fast and download for the latest version
- In NetBeans, go to
Tools → Plugins → Downloaded → Add Plugins
, select the downloaded file and click Install (http://wiki.netbeans.org/FaqPluginInstall) - Restart NetBeans (although it is not needed to run the plug-in, I found that I couldn’t set key short cut for Open File Fast)
- Now for the short cut. Go to
Tools → Options → Keymap
, search for “open file fast” → Assign short cut