Please provide
- Operating system: Windows 11
- SonarQube for VS Code plugin version: 4.26.0
- Programming language you’re coding in: C++
- Is connected mode used: yes
- SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): SonarQube Enterprise Edition v2025.1.2
And a thorough description of the problem / question:
I’m working on a C++ project and trying to integrate SonarQube analysis into VS Code.
- I successfully installed and configured tools like Clang, MSVC, CMake, build-wrapper, and SonarScanner.
- I generated
compile_commands.json
via CMake and used the build-wrapper correctly. - Ran
sonar-scanner
with success — results show up on the SonarQube server.
However:
- No bugs, issues, or Security Hotspots show up in VS Code, even when connected to the server.
- Real-time issue highlighting is not working for C++ (unlike Java or JS).
- I tried both Connected Mode and Standalone Mode, but no C++ issues appear in the Problems panel or inline.
Questions:
- Does SonarLint support real-time feedback for C++ in VS Code?
- Is there a limitation with C++ analysis in SonarLint compared to other languages?
- Can SonarLint show Security Hotspots and bug markers for C++ in the VS Code editor?
Thank you!