Sonarqube Visual Studio Code



SonarLint integrates the checks of SonarQube right into Visual Studio (and Eclipse, Atom and VS Code). If you want to know if there are any quality problems with your code, you no longer need to leave your IDE. SonarLint shows you a comprehensive list right in Visual Studio. SonarQube support for Visual Studio Code that provides on-the-fly feedback to developers on new bugs and quality issues injected into their code. Non-official realization of SonarLint for VS Code.

2017

SonarLint spots bugs and quality issues as fast as you code.

  1. May 18, 2020 To do so, update sonar.web.port value to the port that is currently available in the sonar.properties file located at sonarqube-7.5 sonarqube-7.5 conf: Integration with Visual Studio The below code will be required in order to make the sonar scanner run whenever the project is built.
  2. Released part of SonarLint for Visual Studio 2.0 and above. Fortunately, we added a new “Visual Studio connected mode for SonarQube” part of SonarLint for Visual Studio 2.0. SonarLint for Visual Studio has been releasing regularly both as a VSIX, and a NuGet package. So far it only contained SonarSource’s analyzers, which were recently.
C# sonarqube
  • 5 languages supported: C#, VB .Net, C, C++ and Javascript.
  • Open source, Roslyn based code analyzers.
  • Deep code analysis algorithms using pattern matching and dataflow analysis
  • Hundreds of rules, and growing.
  • Comes with explanations to resolve detected issues.

Get started in seconds

Simply open a file within a project or a solution, start coding, and you will start seeing issues detected by SonarLint.

Visit SonarLint website: https://vs.sonarlint.org

Smart code analysis, on the fly

Visual Studio Sonarqube Plugin

Detect quality issues as you code
SonarLint gives immediate feedback on bugs, code smells and vulnerabilities.

Remain focused and productive
SonarLint lists issues found in all the files that you updated. It subtly points out these issues so that you can still focus on coding.

Get clear explanations to fix issues
SonarLint provides you with all the information you need to understand and fix issues.

Fully integrated in Visual Studio

SonarLint leverages the .NET Compiler Platform ('Roslyn') to offer a fully integrated Visual Studio experience.

Check the rules to see what SonarLint can do for you:

Sonarqube Configuration Visual Studio Code

C#See rules
VB.NETSee rules
CSee rules
C++See rules
JavaScriptSee rules

SonarQube and SonarCloud connected mode

Sonar Visual Studio Code

SonarLint can be connected to a SonarQube server or SonarCloud to share rulesets, get event notifications and use a resolution flow.
Learn more about SonarQube.

Have question or feedback?

The preferred way to discuss about SonarLint is by posting on the SonarSource Community Forum. Feel free to ask questions, report issues, and give suggestions.

How to contribute

Check out the contributing page to see the best places to log issues and start discussions.

License

Sonarlint Visual Studio

Copyright 2016-2020 SonarSource.
Licensed under the GNU Lesser General Public License, Version 3.0