How do i enable/disable sonarLint?

Please provide

  • Operating system: Mac, Window
  • SonarLint plugin version: v3.21.0
  • Programming language you’re coding in: C/C++
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version):

And a thorough description of the problem / question:

With sonarlint, I get so many underlines that sometimes I want to turn sonarlint off for a while.
I would like to ask if there is a command or shortcut key for this.

Hello @exgs, and welcome to the :sonar: community forum.

At the moment, we don’t have a shortcut/command which would turn off sonarlint, respectively its code analysis. One way that comes in mind is disabling/enabling the plugin itself.

I’m not sure what specifically your use case is but one thing that might help is a feature coming up in the next release of :sonarlint_vscode: (planned for next week) which will allow excluding specific files from automatic analysis.


Vojtech from :sonarlint_vscode: