Skip to content

[Request] Option to not use .ipr for Detector settings #1625

@scscgit

Description

@scscgit

When IntelliJ IDEA project uses .ipr file to store settings, changing rules in the Detector tab modifies this file like this:

+  <component name="FindBugs-IDEA">
+    <detectors>
+      <detector name="FindReturnRef" enabled="false" />
+    </detectors>
+  </component>

However, this file may not be fully under our control when collaborating on an existing project. We may not be allowed to share our changes, and we may have to periodically reset it, including when switching between old branches, whereas holding it under .gitignore all the time may not be feasible.

On the Share tab it mentions .idea/findbugs-idea.xml file, but this file doesn't seem to be created when using .ipr format, and there is no way to opt into such behavior.

  • It also provides a "SpotBugs plugin or Sonar setting file" path, but there is no way to generate this file from choices on the Detector tab (or when selecting to ignore individual bugs detected in code via intention actions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions