Reconnect SonarLint to a different SonarQube server

After downloading the SolarLint for VS2019 extension I had the configuration set to a test-ing sonar qube server. Now that we have moved to production how do I change the connection and re-enter credentials ? Thanks!

Hi @mayureshs. Welcome to the community!

There isn’t a specific “change bind” option in the IDE. The simplest approach is the following:

  • close VS
  • delete the .sonarlint folder and its contents
  • re-open VS, open the Team Explorer and bind to the new SonarQube server

The existing project-level rulesets that were created by the original binding will be correctly updated to point to the generated ruleset for the new binding.

Thanks for the response.