diff --git a/config/intellij-idea-inspection-scope.xml b/config/intellij-idea-inspection-scope.xml new file mode 100644 index 000000000..1883bb03c --- /dev/null +++ b/config/intellij-idea-inspection-scope.xml @@ -0,0 +1,3 @@ + + + diff --git a/src/site/resources/images/gui_screenshot_scope_idea.png b/src/site/resources/images/gui_screenshot_scope_idea.png new file mode 100644 index 000000000..4fd4f25ff Binary files /dev/null and b/src/site/resources/images/gui_screenshot_scope_idea.png differ diff --git a/src/xdocs/idea.xml b/src/xdocs/idea.xml index ca845e7f4..a2ec9f36e 100644 --- a/src/xdocs/idea.xml +++ b/src/xdocs/idea.xml @@ -74,7 +74,12 @@ Settings -> Editor -> Inspections -> Manage -> Import... and locate file config/intellij-idea-inspections.xml.

Inspections in IntelliJ IDEA -
+

+ Not all files in repository should be analyzed. For example test input files contain numerous + violations on purpose. Our shared inspection scope can be used to exclude such files.
+ To add custom scope copy file config/intellij-idea-inspection-scope.xml + to .idea/scopes directory. Now it should be ready to use in inspect code window:

+ Scope for inspections