2

Is there a way/property/setting do completely remove QuickSearch input from the right upper corner of Netbeans, the one activated by Ctrl+I?

I use tiling window manager and have 2 document groups on 2 separate monitors. Sometimes during switch the focus goes to Quick search and there is no easy way do put it on editor with just a keyboard. There is Ctrl+0 shortcut to activate the Editor but when I press it, the Editor from another monitor gets focused. Veeeery annoying! I never use QuickSearch feature anyway so I just want to get rid of it.

Yuankun
  • 6,875
  • 3
  • 32
  • 34
user1278890
  • 643
  • 8
  • 22

1 Answers1

3

Removing the Quick Search feature is not obvious, but it is fairly straightforward, and also simple to revert:

  • Start NetBeans. From the Help menu select About and locate the line specifying your User Directory.
  • Open that specified user directory in a file manager (e.g. Windows Explorer on Windows).
  • Open the sub-directory named config.
  • Create a directory named Menu, and within that directory create an empty file named org-netbeans-modules-quicksearch-QuickSearchAction.shadow_hidden
  • You should end up with a file named {user dir}/config/Menu/org-netbeans-modules-quicksearch-QuickSearchAction.shadow_hidden
  • Restart NetBeans and Quick Search is gone:

removeQuickSearch

  • To reinstate Quick Search delete file org-netbeans-modules-quicksearch-QuickSearchAction.shadow_hidden and restart NetBeans.

I verified that this works using NetBeans 8.2 on Windows 10.

See NetBeans bug report Bug 199487 - I18N: RFE: provide option to disable quicksearch text field on menubar for further details.

skomisa
  • 16,436
  • 7
  • 61
  • 102
  • I actually spotted that Bug 199487 while googling for the solution but it did not work for me first time I tried it. Interesting what have I done wrong then. The bug report is very old so I thought it's for an older Netbeans version. Now another attempt did work. Thanks. – user1278890 Apr 13 '18 at 20:23