Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij : Find usages , but exclude test files from results

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

Like everything that is under : src/test/

like image 854
Roman Avatar asked Feb 13 '12 07:02

Roman


People also ask

How do I exclude test cases in IntelliJ?

to toggle the Skip tests mode. On the Runner page, select Skip tests and click OK. IntelliJ IDEA de-activates the test goal under the Lifecycle node. The appropriate message notifying that tests are skipped is displayed in the Run tool window when you execute other goals.

What is find usages in IntelliJ?

Search for usages in a fileIn the editor, select a symbol you want to find, IntelliJ IDEA automatically highlights all found usages in the file. If the highlighting of usages is disabled, press Ctrl+Shift+F7 to highlight all usages in the file.


1 Answers

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

enter image description here

like image 89
DagR Avatar answered Sep 28 '22 12:09

DagR