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

Opt-in for JavaScript analysis and your files will be analyzed on open and save. You can do it any time in the Visual Studio Options under the SonarLint section.

Live analysis of C# and VB.NET

Out of the box you get analysis of C# and VB.NET as you type. To analyze all files, enable Visual Studio full solution analysis (see here) under the usual Visual Studio Analyze menu.

Fine tune your rules

SonarLint is integrated with Microsoft Code Analysis framework, so rules for C# and VB.NET can be fine-tuned in the .ruleset file used by your project. The set of active rules can also be tuned for JavaScript, C++ and C.

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

Open Source Roots

Fork SonarLint on GitHub and submit pull requests; View our issue tracker.

Latest News

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

Join Our Community

Visit the SonarSource Community to get help, report issues & share the good vibes!