-
Hey, i know it's possible to exclude paths with a qodana.yml like this:
And it's possible to add a custom profile to exclude all target folder like this:
Is there a way to use the IntelliJ IDEA inspection profile instead of a qodana.yml or custom profile as a ruleset and exclude specific file path and e.g. all target folder? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, You can use your IDEA profile and set the required scope in a yaml profile that extends your profile.
You could also avoid using the yaml profile by creating a shared scope in IntelliJ IDEA , setting the scope for required inspections in your profile and then keeping the generated files under |
Beta Was this translation helpful? Give feedback.
You can either set a path to the yaml profile in
qodana.yaml
or you can do it by adding the flag--profile-path
to your script, it's up to you. Your exclude rules fromqodana.yaml
will still work.In this case, creating a shared scope(s) and using it in your inspection profile should suit you better. You can configure scopes for each inspection or group o…