Use SonarLint
in Eclipse

and detect issues in:
  • Java
  • JavaScript
  • PHP
  • Python

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.

Mute specific rules

A quick-fix option lets you deactivate the rule if it's not relevant to you. You can also do it from the list of issues, or globally in the Eclipse preferences.

Find logs if you need them

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

Connect to SonarCloud or to a SonarQube server

To have rules, issues and exclusions synched. First connect to a server via the SonarQube Servers View: right click > New Server connection. Then bind your project: right-click project > SonarLint > Bind.

This will also activate issue detection in additional languages depending on your IDE:

  • EclipseABAP, PL/SQL, RPG
  • Eclipse CDTC/C++
  • CA DE for z Systems
    Compuware Topaz
    IBM IDz

Open Source

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

Latest News

SonarLint for Eclipse 3.6 Released.

Feedback welcome

Get in touch and share feedback on SonarSource Community Forums.