How to get most of SonarQube for Visual Studio and C#?

Hello, I use SonarQube Cloud to analyze pullrequest builds (C#). Lets say this build with Sonar analysis takes 15 minutes. So after 15 minutes I can see issues caused by my new code.

That’s a lot of time, so I am interested in SonarQube extension for Visual Studio - if I understand it correctly, when I use it in Connected Mode, I can see the analysis results as I code. I want to see the same new issues as SonarQube Cloud would detect. But instead of this, I have to look into Errors window in Visual Studio and search for Sxxxx messages/warnings/errors which is not very convenient, because we have many other entries there (legacy code).

So I open Sonar Issue Visualization, but it is empty.

I also noticed, that in Errors window I see only Sxxxx messages for files, that are currently open. I want to see messages for all changed files. And there is maybe a bug - in an open file, the issue is marked with green dots for a while, and then the dots disappear and also the entry from Error window disapears on it’s own.

So my question is: How can I simply show only issues introduced by my changes and see them well-arranged in a single place?

Thanks,
Jozef

Hi Jozef,

Welcome to the community!

Could you provide the information prompted for in the topic template, as well as your logs?

  • Operating system:
  • Visual Studio version:
  • SonarQube for Visual Studio plugin version:
  • Programming language you’re coding in:
  • Is connected mode used:
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?):

 
Thx,
Ann