To verify that my source code is analysed “while in connected mode”, I make a code change and check the sonarqube “token” page for the last access time for my token. For some reason, the token is not accessed (which should have been by vscode for connected mode).
Also, the Active Rules defined on the connected project does not seem to sync to VSCode
Here is the package.json (16.3 KB) (which does not contained any information on connectedmode servers)
How do I verify that the connected mode is established correctly on VSCode? is there a log that I can check?
Further, I see that below languages are supported by SonarLInt offline mode (and are available in my VSCode SonarLInt Rules as well).
how do I check what languages are supported in connected mode? I would like to analyse a C project
The presence of the projectKey attribute is a confirmation the connected mode is used.
Connected mode is not reaching the server continuously. It is only contacting the server to fetch (and cache) some metadata needed to ensure SonarLint analysis will produce similar results than SonarQube/SonarCloud analysis (enabled rules, file exclusions, issue suppresion, …). To “refresh” the local storage of those metadata, you have to manually trigger it (use SonarLint: Update all projects bindings to SonarQube/SonarCloud action).
I agree the documentation is missing here. Only Apex and PL/SQL are added by using connected mode. C is not yet supported, you can follow/vote for: