How can the SLVS ensure that the detection results in IDE are consistent with in sonarqube server?

Hello, I am using Sonar Lint v6.16, Sonarqube v7.9, Visual Studio v16.11.27, and I have some questions, I would greatly appreciate it If you can reply:

  1. Can the SonarLint for Visual Studioto send detection results to Sonarqube Server and I can see it in [project] tab?

  2. In connection mode, only the rules of c # can be obtained from sonarqube, the rules of c/c++ cannot be obtained,and all the c/c++ proj in the solution will be excluded. so,for a sln with c/c++,How can the SLVS ensure that the detection results in IDE are consistent with in sonarqube server?

Hi,

Welcome to the community!

Your SonarQube version is well past EOL, and your SonarLint version is out of date. You should upgrade SonarQube to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.9 → 8.9.10 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

You should also upgrade SonarLint at your earliest convenience. The current version is 7.1.0.75242.

Regarding your question, issue data generally flows from SonarQube to SonarLint, not the other way. However, we are currently working on the ability to mark brand new issues False Positive or Won’t Fix in SonarLint and have that honored in SonarQube when those issues show up after the next analysis.

 
HTH,
Ann