SonarLint plugin available in Visual StudioSonarLint
Use SonarLint
in Visual Studio

Detect Code Quality and Security issues on the fly in:
  • Compatible with C#
  • Compatible with VB
  • Compatible with C
  • Compatible with C++
  • Compatible with JavaScript

Benefit from a full integration

And go further

Out-of-the-box, SonarLint reports issues on the files you're editing.
There are a few more options you can use if you wish.

Analyze JavaScript and C/C++

After install, a startup notification will ask for installing support for additional languages. You can also do it anytime in the Visual Studio Options, under the SonarLint menu item. Issues in these languages are detected whenever you save files.

Analyze all files of the project or the solution

If Visual Studio full solution analysis is enabled (see here) you can trigger an analysis under the usual Visual Studio Analyze menu, and SonarLint will report all issues it finds.

Fine-tune the ruleset

SonarLint is integrated with Microsoft Code Analysis framework, rules can therefore be fine-tuned in the .ruleset file used by your project.

Find logs if you need them

In the Output panel, show output from SonarLint. Verbosity can be increased in the VS Options, under the SonarLint menu item.

Open Source

Visit our issue tracker, fork SonarLint on GitHub and submit pull requests.

Latest News

Native analysis for C/C++ built-in to SonarLint for Visual Studio 4.12.

Feedback welcome

Get in touch and share feedback on SonarSource Community Forums.