Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
scscgit opened this issue Aug 27, 2024 · 0 comments
Open

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

scscgit opened this issue Aug 27, 2024 · 0 comments

Comments

@scscgit
Copy link

scscgit commented Aug 27, 2024

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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant