- Operating system: Windows 11
- VS Code version : 1.84.0
- SonarQube for VS Code plugin version: 4.20.2
- SonarQube CFamiliy analyzer version : 6.65.0.081949
- Programming language you’re coding in: C/C++/Python
- Is connected mode used: no
Hello,
I am trying to setup SonarQube for IDE for the first time in offline mode and I am having troubles getting de C/C++ analyzer to work.
On the left pane of my VS Code IDE I can see the SonarQube extension and rules for a lot of langages (including Python that I use) but no C/C++.
I made a few research (Offline installation - SonarQube for IDE Documentation - VS Code) and found out I needed to download CFamiliy analyzer and deploy it in a folder, which I did, but it still won’t show up in rules.
This path to my CFamily.jar file : ‘D:/user/.vscode/extensions/sonarsource.sonarlint_ondemand-analyzers/sonar-cfamily-version/6.65.0.081949/sonarcfamily.jar’
I also tried ‘D:/user/.vscode/extensions/sonarsource.sonarlint_ondemand-analyzers/sonar-cfamily-version/6.65/sonarcfamily.jar’ without success.
For the C/C++, I setup the path to my project compile_commands.json file exported by CMake, and these commands build the project without any issue.
I am falling short in term of new idea to get the C/C++ analyzer to work, so here I am asking for your help.
Thanks !