How to find files ending with a specific string in IntelliJ

In IntelliJ, you can list files using the Navigate > File... option (keyboard shortcut Ctrl+Shift+N). Using this feature, if I try to search for Java files ending with IT (which are integration tests), searching for *IT.java will return IterableTransformer.java for example, which is obviously not what I want.

So my question is, I can I do that in IntelliJ?

Upvotes: 1

Views: 1176

Answers (1)

Peter Gromov
Peter Gromov

Reputation: 18911

You can use Find in Path functionality as a workaround: enter an empty search string there, and *IT.java in "file mask" field.

Upvotes: 1

Related Questions