Questions: How to disable/enable selected rules in the SonarLint General Settings? And many other questions

Hello everyone,

I have so many questions to ask:

Can I disable/enable selected rules in the SonarLint General Settings?
But I found no options to disable or enable selected (two or above select rules) rules.

Or can I filter rules by issues levels? So that I can disable or enable rules one by one.

How can I sort the analysis results by issue levels instead of the file name?

Other details:

  • your IDE flavor/version/OS. Exemple: Eclipse 2018-12 on MacOSX
    IntelliJ IDEA 2018.3.5 on Linux/Fedora 30
  • SonarLint version
    v4.0.2.3009
  • Are you using connected mode?
    No

Thank you.

Hi, let me answer point by point.

  1. Yes, you can disable or enable rules in the SonarLint General Settings. When a issue is shown, there is also a quick fix which allows you to disable the rule that created that particular issue. Not sure if this answers your question.
  2. No, currently you can’t filter rules by their severity.
  3. Also not possible at the moment. We do have a ticket to improve the way we show the list of issues, but it has been open for a long time