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 EclipseSonarLint
Use SonarLint
in Eclipse

Install Now
  • Version 5.2.1
  • Released June 2020
Detect Code Quality and Security issues on the fly in:
  • Compatible with Java
  • Compatible with JavaScript
  • Compatible with Python Python
  • Compatible with HTML
  • Compatible with PHP
  • Abap only available together with SonarQube or SonarCloud

    Only available together with:

  • Apex only available together with SonarQube or SonarCloud

    Only available together with:

  • C only available together with SonarQube or SonarCloud

    Only available together with:

  • C++ only available together with SonarQube or SonarCloud

    Only available together with:

  • COBOL only available together with SonarQube or SonarCloud

    Only available together with:

  • Kotlin only available together with SonarQube or SonarCloudKotlin

    Only available together with:

  • PL/I only available together with SonarQube

    Only available together with:

  • PL/SQL only available together with SonarQube or SonarCloud

    Only available together with:

  • RPG only available together with SonarQube

    Only available together with:

  • Ruby only available together with SonarQube or SonarCloudRuby

    Only available together with:

  • Scala only available together with SonarQube or SonarCloud Scala

    Only available together with:

  • T-SQL only available together with SonarQube or SonarCloud

    Only available together with:

  • XML only available together with SonarQube or SonarCloud

    Only available together with:

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 a set of files

You can run SonarLint on a set of files, or even analyze all VCS-changed files. Find these options in the SonarLint menu when you right-click a file or project.

Exclude specific files and issues

You can tell SonarLint which files should not be analyzed. Just right-click on any file to access the SonarLint menu, or manage File Exclusions in your Project Properties.

Enable more rules, or mute some

In Eclipse preferences you can choose which rules should be active or not. You can also mute rules on-the-fly via a quick-fix option, or from the list of issues.

Find logs if you need them

Under the Eclipse Console view, show the SonarLint Console, and optionally activate analysis or verbose logs.

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
  • Project settings (such as code exclusions)
    are shared at team level
  • Team members are notified if a breaking
    change makes it in the main branch

Additional language support! Additional language support!

  • Abap only available together with SonarQube or SonarCloud
  • Apex only available together with SonarQube or SonarCloud
  • C only available together with SonarQube or SonarCloud
  • C++ only available together with SonarQube or SonarCloud
  • COBOL only available together with SonarQube or SonarCloud
  • Kotlin only available together with SonarQube or SonarCloudKotlin
  • PL/I only available together with SonarQube
  • PL/SQL only available together with SonarQube or SonarCloud
  • RPG only available together with SonarQube
  • Ruby only available together with SonarQube or SonarCloudRuby
  • Scala only available together with SonarQube or SonarCloud Scala
  • T-SQL only available together with SonarQube or SonarCloud
  • XML only available together with SonarQube or SonarCloud
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

SonarLint for Eclipse 4.1 Released.

Feedback welcome

Get in touch and share feedback on SonarSource Community Forums.