Add quick way to disable sonar for workspace

When I am coding up something quick in a test project, I don’t want to see all the ugly sonar squiggly lines in the editor window.

I would like to be able to press CTRL+SHIFT p, and then select “SonarList: Disable for workspace”.

Right now I need to go into the plugin setting to disable this for sonar and it’s really a tedious process, then I need to reload vscode.

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

At the moment, we only support local file exclusion which will enable to exclude file/folders from analysis based on user-specified patterns.
Note that local file exclusions only work when not in connected mode - if you are connected to SonarQube or SonarCloud, then the file exclusions defined on the server take precedence.

Let me know if that helps.

Best,

Vojtech from :sonarlint_vscode: