SonarQube for Visual Studio plugin version: 8.30.0.15605
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 Server v2025.1.2
And a thorough description of the problem / question:
Hello,
I have analysed and created a report for my project. Is there a way to get Visual Studio to display the issues when connected to SonarCube Server?
I think the extension is only trying to analyse the files itself instead of just displaying the already known issues.
I always get “Custom build tools aren’t supported. Custom-built file: ‘****.cpp‘”, because of the custom buildchain, but I only need the issues to be underlined for example.
SonarQube for IDE focuses on local, live analysis and cannot simply fetch and underline issues already reported on the SonarQube server for your local source files. This is intended to avoid showing stale or out-of-sync issues if code changes locally, and so that you know immediately when an issue has been fixed (because the issue goes away)
Unfortunately like the error message alludes to, SonarQube for IDE (Visual Studio) doesn’t support custom build tools. VCCLCompilerTool is needed for all the necessary compilation options to be present