In the Community Edition when I import a module IntelliJ goes through and tries to figure out which directories are what types. The modules I deal with sometimes have a src
and a test
directory, which work fine, but more often than not the test directory is actually named tst
. IntelliJ likes to mark is as a "Sources" directory rather than "Tests". With the tools I am working with, the dependency configuration and generation of the .iml
file happens after this, as well as using a modified build system that is not IntelliJ supported. I have to build via commandline which generates a build
folder which I would like to have automatically excluded.
So a couple questions.
- Can I configure IntelliJ to automatically recognize different folder names "Tests" and mark them as such?
- Can I configure IntelliJ to automatically mark a folder as excluded when it is present in a module?