Excluding a file from analyses / cleanups
Answered
Is there any way to mark a file as externally provided (like gradlew, gradlew.bat, etc.), so that it is excluded from actions like Inspections, Code Reformatting, etc.?
If there's no setting that covers all such actions, are there settings for any of the individual actions (like an exclude setting for Inspections, a separate exclude setting for Code Reformatting, etc.)?
If such a setting ever exists, it should be possible to easily temporarily ignore all exclusions (i.e. easy to include all excluded files, without individually having to re-include each).
Please sign in to leave a comment.
It is possible to exclude files and folders from project: https://www.jetbrains.com/help/idea/content-roots.html#exclude-files
Thanks. How can I configure this from Gradle?
I'd prefer to use the newer org.jetbrains.gradle.plugin.idea-ext plugin instead of the older, sunsetted idea plugin that is bundled with Gradle.
Please check https://stackoverflow.com/a/16702526/8958060