How do I Ignore the build folder in NetBeans 'Find In Projects'?

后端 未结 2 1779
囚心锁ツ
囚心锁ツ 2020-12-17 17:36

Anyone know how to ignore the build folder when doing a \'Find in Projects\' on NetBeans (v6.9.1).

Currently the Search results pane shows all results from src folde

2条回答
  •  暖寄归人
    2020-12-17 17:51

    I think I've figured out how to ignore the build folder of projects when doing a 'Find in Projects' in NetBeans 6.9.1:

    1. Go to Tools->Options-Miscellaneous.
    2. Click the Files tab.
    3. In Files Ignored by the IDE, edit the Ignored Files Pattern regular expression and include the build folder. For example, on my system I simply added build thus:

      ^(CVS|SCCS|vssver.?\.scc|#.*#|%.*%|_svn|build)$|~$|^\.(?!htaccess$).*$
      
    4. Click OK to save the options and close the dialog.

    (Nerd Note: Took me exactly 1 year to the day to figure this out!)

提交回复
热议问题