Local Inspections Scope not used by TeamCity?
Observed Behavior:
We added a scope to the SyntaxError inspection to stop it from inspecting third party code. When TeamCity runs the inspection build, it runs the SyntaxError inspection everywhere, giving us unwanted noise in our inspection reports.
We've obeyed all the available documentation. Is there something we're just missing?
Background Data:
We run IntelliJ 9.0.1 and TeamCity Professional 5.0.1
Here is the line in the *.ipr file. The name of our inspection profile is "Project Default." The "Things to Inspect" scope appears within the XML node of the SyntaxError inspection, which should limit that inspection to only that scope.

Here is a picture of how we have TeamCity configured. Note the "idea.exclude.patterns" JVM argument that we are passing to the runner as a stop gap measure. 
And last, here is how our inspection profile is configured in the GUI.
Thanks in advance!
Daniel Ramteke
Agile Developer
Cyrus Innovation, LLC
Please sign in to leave a comment.
Hi Anna,

IDEA does in fact handle the scope correctly. I've searched for a string specific to the excluded files and found it using the built-in "Whole Project" scope, and I've correctly not found it using our own "Things to Inspect" scope.
The 'Things to Inspect' scope intends to hide the FIT Library documentation from the inspections. It is currently defined as file[webapp]:*//*||file[fixtures]:*//*.java*
And the "share scope" is checked. I successfully ran some searches on a different machine in the office.