I am trying to set up sonarLint in VSCode to be connected to my sonarQube server. I have set up the user settings:
“serverId”: “serverId”, // Connection identifier
“serverUrl”: “serverUrl”, // SonarQube/SonarCloud URL - https//sonarcloud.io for SonarCloud
“token”: “token” // User token - generated in SonarQube/SonarCloud in My Account>Security
and the workspace settings to connect to a specific project:
The connection seems to be working since I get an error message whenever I put an invalid project name. However, when I use an existing project name and mark an issue as False Positive on SonarQube, it still appears as an error in VSCode. For some reason VSCode does not seem to be picking up the updates from the server. I tried triggering the “Update SonarLint binding to SonarQube/SonarCloud” command but that did not seem to change anything.