Scope : exclude directories
Hello,
We have a number of generated java files produced by third party libs, and i'd like to exclude them from my Inspection.
These files are located in a module subdirectory like target/generated.
I'm using Scopes and i can't figure out how to express the exclusion, can you help ?
Gilles Philippart
请先登录再写评论。
Hello Gilles,
You can specify a scope for directory and then assign an empty inspection
profile for that scope.
Should do the trick.
Thank you
-
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Thanks Anna for the answer, but how do you specify a scope for a directory ?
You should choose file based scopes (in version 7 it is Hector-like toggle toolbar button; version 8 contains toolbar combo); then select your directory in your tree and click include recursively
Thank you