Intellij 16 has a “File Name Filter” section to exclude the use of the !*.java extension. You can also give more detailed templates, for example, I use the template below to return only .java files, except for those whose name begins or ends with test. Template !*test.java,*.java,!Test*.java

In recent versions of Intellij, the GUI has been slightly updated, but the same applies, see "File mask" in the upper right corner, see Image below:

Marquis Blount Jun 13 '16 at 2:40 2016-06-13 02:40
source share