Hello @Gerrie, thanks for raising the topic!
Iām a bit confused by how exactly you tried to set up the connection, as seems like you both hardcoded some settings, while also used the connection UI?
Several things to note:
- You have an option to create a full connection manually, via VS Code USER settings.json by putting the following snipet in the file (filled in with actual data of course
)
"sonarlint.connectedMode.connections.sonarcloud": [
{
"organizationKey": "organization_key_on_sonarcloud",
"connectionId": "my_org_sonarcloud",
"token" : "12345"
}
],
- You can generate a SonarCloud token manually by going to
SonarCloud > My Account > Security
, and copy/paste the token in the above settings. Once the connection is established, SonarLint should prompt you to migrate this hard-coded token into a VS Code secure storage. - You might want to check out how to let SonarLint pick up your proxy settings in this post, not sure if this is what you tried already.
If none of these help, we would need to see full logs from SonarLint output.
All the best,
Sophio