The plugin that I found that has this feature is called Open File in Solution
Here’s a link to download the plugin and documentation: http://npp.incrediblejunior.com/
- Install the above 4 plugins from here (I just downloaded them manually and dropped them in my plugins directory).
- Start Notepad++. Select Plugins -> SolutionHubUI -> SolutionHubUI Show from the menu
- Here you define your solution or project. Click “New Solution” and enter a Name. Then click the “Path” icon and select it’s root folder. Tick the “Recursive” and “Monitored” checkboxes to ensure the files within this folder are indexed, and you can optionally add Exclusions file filter to skip any files you don’t want indexed (like “jpg gif png” files).
- Click “Save Solution”, then double-click the “Connections” value in the table at the top and enter “ofis” as a connection for your new solution. This will associate your solution with “Open File In Solution” to make this feature work. Then click “Save Connections”. (You can define multiple solutions/projects, but only one can have the “ofis” association at one time. This provides a crude way of switching between solutions/projects)
- Now test your Solution by going to the menu and selecting Plugins -> Open File In Solution -> OFIS – Show. You should see a dialog that allows you to search all the files in your solution.
- Now we’ll define some keyboard shortcuts. Go to Settings -> Shortcut Mapper… and choose the “Plugin commands” tab.
- Find the entry called “OFIS – Show” and give it a shortcut. I personally use Ctrl+Shift+R as that’s what I’m used to from Eclipse, however this is used by the out-of-the-box Macro Record. So I have to disable this shortcut manually under “Main Menu” tab. (Unfortunately Notepad++ doesn’t warn you if there’s a clash).
- Next, find the entry under the “Plugin commands” tab called “ST – Open document” and give this another short-cut. This is how you open files that are referenced in your source (like F3 in Eclipse). I personally map this to Ctrl-Shift-=.
- That’s it!
One more tip. If you like the RubyBlue colour theme, grab the enhanced version that includes additional language support (like java). It’s available from: http://www.maxahn.com/2010/12/customized-ruby-blue-theme-for-notepad/.