How to setup SonarLint ConnectionMode global?

Please provide

  • Operating system: Windows 10
  • SonarLint plugin version: 7.2.0.76209
  • Programming language you’re coding in: C#
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): SonarCloud

I have setup the SonarLint ConnectionMode via the VisualStudio UI and bound the specific project.
This works fine, but i want to set this connection global for all users. So not every developer needs to establish this connection individually.

Is that possible? Thanks.

Hey there.

This really implies sharing a token with all users – a securiy risk. Furthermore, we’re starting to introduce features in SonarLint that really require the specific permissions of a user (like whether they’re allowed to mark an issue as false-positive or not). For those reasons, we don’t support a global connection.