SonarLint
Install SonarLint

Install SonarLint in your IDE

SonarLint is a free IDE extension and is available directly from
your favourite IDE marketplace.

SonarLint plugin available in Visual StudioSonarLint
Use SonarLint
in Visual Studio

  • Version 4.23
  • Released July 2020
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.

Use SonarLint with your team!

SonarLint can be used together with SonarQube or SonarCloud, allowing your team
to always be on the same page when it comes to Code Quality and Security.

SonarLint can be used together with SonarQube or SonarCloud

Your team on the same page Your team on the same page

  • All the team uses the same code quality
    and security rules
  • Issues exclusions are shared at team level
  • Team members are notified if a breaking
    change makes it in the main branch
Discover all team benefits

I’m in! How do I activate this in SonarLint?

First connect to a server via the SonarLint General Settings,
then bind the project under SonarLint Project Settings.

Open Source

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

Latest News

Big performance boost for C++ analysis in v4.21 .

Feedback welcome

Get in touch and share feedback on SonarSource Community Forums.