Intellij : Find usages , but exclude test files from results

In the Find usages result panel, you can group by test/production. There is a button for that.

enter image description here


Intellij Ultimate 11 version has an option to search in "Project production files".

Just press Alt+F7 on a usage and look on Scope.


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.