Duplicates Finder (Java)
note
In order to run inspections for your project you should have either an IntelliJ IDEA project file (.ipr)/project directory (.idea), or Maven2 or above pom.xml of your project checked into your version control.
IntelliJ IDEA Project Settings
Unresolved Project Modules and Path Variables
Project JDKs
note
You can use references to external properties when defining the values, like
%\system.idea_home%
or%\env.JDK_1_3%
. This will add a requirement for the corresponding property.
Duplicate Finder Settings
tip
Include / exclude patterns are newline-delimited set of rules of the form:
[+:|-:]pattern
Where the pattern must satisfy these rules:
must end with either ** or * (this effectively limits the patterns to only the directories level, they do not support file-level patterns)
references to modules can be included as
[module_name]/<path_within_module>
Some notes on patterns processing:
excludes have precedence over includes
if include patterns are specified, only directories matching these patterns will be included, all other directories will be excluded
"include" pattern has a special behavior (due to underlying limitations): it includes the directory specified and all the files residing directly in the directories above the one specified.
Example:
+:testData/tables/** -:testData/** -:testdata/** -:[testData]/**
tip
For the file paths to be reported correctly, "References to resources outside project/module file directory" option for the project and all modules should be set to "Relative" in IDEA project.
Thanks for your feedback!