How to configure connected mode in VSCode

You have to configure both sonarlint.connectedMode.servers and sonarlint.connectedMode.project. We have split binding configuration in two properties to allow to safely store token in user settings, while project key is better in workspace (or soon to be supported folder) settings.

  • serverId is just a random identifier you can choose to link between the two properties (especially useful if you bind to different servers).
  • organization should be left blank for SonarQube, this is only a SonarCloud concept
  • token can be generated in SonarQube in your user security page