65

Is there an existing plugin or tweak that speeds up the "Go To File" search in Netbeans ? Compared to Eclipse, Netbeans search is way too slow specially if one has multiple large size projects.

I know I can use CTRL+O for "Go To Type" but often I need to search for other file types like XMLs, property files etc. across thousands of files in multiple projects.

I installed the Quick Search plugin but even that doesn't search for non Java file types.

linuts
  • 6,608
  • 4
  • 35
  • 37
Rahul
  • 12,886
  • 13
  • 57
  • 62

10 Answers10

169

You can focus on the Project Tree and simply type the file name which you want to looking for. Press Up/Down to select if more than one file match your search.

Or use keyboard shortcut to open the search file form:

  • Windows/Linux:

Alt+Shift+O

  • Mac OS:

Control+Shift+O

Tombart
  • 30,520
  • 16
  • 123
  • 136
Truong Chuong Duong
  • 1,691
  • 1
  • 10
  • 3
  • 5
    unluckily the trick of simply typing only works when a file is already visible eg. its folder/package tree is open... But great about the A+S+O!!! – Stefano Aug 14 '13 at 14:23
  • 2
    and all these people telling us to download a plugin when the functionality is already built in netbeans, tsc tsc tsc, must be carefull these days otherwise you'll bloat your IDE with unecessary plugins – ancm Feb 07 '18 at 12:52
9

The best way to search and open file in netbeans - Press CTRL+O and type file name you are looking for, it will search in current projects and list matching files

linuts
  • 6,608
  • 4
  • 35
  • 37
5

why not right click on the project and click 'find'?

Karussell
  • 17,085
  • 16
  • 97
  • 197
4

I can only recommend using the Open File Fast plugin http://plugins.netbeans.org/plugin/16495/open-file-fast

Pierlo Upitup
  • 1,614
  • 4
  • 19
  • 27
2

How to quickly find a file/files in netbeans. Maybe for someone it will be helpful.

  1. In Netbeans projects files view select some directory where you want to look for the file.
  2. Click ctrl+f to show the finder dialog
  3. Pass your file name into 'file name patterns' input
  4. In options set only 'Regular expression'
  5. The 'Containing text' input has to be empty
j0k
  • 22,600
  • 28
  • 79
  • 90
Arkadiusz Cieśliński
  • 5,307
  • 3
  • 23
  • 19
2

For Mac users

control+shift+O

M_R_K
  • 5,929
  • 1
  • 39
  • 40
2

http://plugins.netbeans.org/plugin/16495/open-file-fast

Find file fast will your solution for find file faster just like sublime.. using the shortcut alt+shift+o

hope it will help

hendra1
  • 1,359
  • 1
  • 15
  • 24
0

You can install the recent file list plugin

This plugin is not as powerful as the intellij but to simulate the same behavior (open the recent files with ctrl+E):

After install the plugin assign the Ctrl+E shortcut to the "Recent Files" action: Tools->Options->Keymap->Search "Recent Files" and assign Ctrl+E shortcut

iberck
  • 2,372
  • 5
  • 31
  • 41
0

If all you need is to search by file name/pattern, then I suggest plugin "Quick File Search" http://plugins.netbeans.org/plugin/70267

Andrey Lebedenko
  • 1,850
  • 17
  • 24
-3

Press Ctrl + Shift + H.

On the screen appear option scope. Click on this text-box and choose the project you want to find needed text snippets, or you can find all of the projects. I am using Netbeans 8.1 Best regard !

VanThaoNguyen
  • 792
  • 9
  • 20