Intellij : Find usages , but exclude test files from results

前端 未结 4 1772
一整个雨季
一整个雨季 2021-01-30 10:06

Anyone knows how to exclude test files from find usages results ?

Like everything that is under : src/test/

4条回答
  •  北海茫月
    2021-01-30 10:40

    I found this answer extremely helpful:

    https://stackoverflow.com/a/45958976/5449497

    By putting !*Test.java into the File Mask textfield you can exclude Testfiles from your search results within the project.

提交回复
热议问题