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

后端 未结 2 1783
囚心锁ツ
囚心锁ツ 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:54

    You may be able to get similar behavior with a multiple node selection search.

    • From the 'Files' Window (Found in the Window/Files Menu), expand all of your projects and select all of them with a Ctrl+A (PC) or Command+A (Mac).

    • Then with Control(PC) or Command(Mac) key held down, click the folders that you don't want to search.

    • Finally, use Ctrl+F(PC) or Command+F(Mac) to open a search, enter the text you're looking for, and then choose 'Selection ( # nodes)' under the Scope where the '#' symbol is the number of folders you just selected.

    It is a little more manual than applying a filter, but you should be able to better control your results.

提交回复
热议问题