We're working on a rather big project containing 3 modules. My team's only writing code in 3 different subdirectories of one module, so I don't want to inspect the other modules nor the other subdirs, so I started using the '-Didea.include.patterns=' and '-Didea.exclude.patterns'.
Because I did read somewhere that includes had precedence over excludes I used:
Nothing was included, so I removed /** from the exclude patterns. The result was that teamcity now inspected /source/com/foo/bar/** (note that I only asked for the util subdir here).
Now I've set up three different build configurations, each including only one pattern and I'm getting too many inspection results (always some additional packages above the directory I specify). This is only a workaround, I hope I'm misconfiguring something or that there is a fix in a future release. Could someone help me out?