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.
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.
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.
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.
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.
Under the Eclipse Console view, show the SonarLint Console, and optionally activate analysis or verbose logs.
To have rules, issues and exclusions synched, first connect to a server via the SonarLint Bindings View: right click > New Server Connection. Once the connection is created, the wizard will prompt for a project selection.
This will also activate issue detection in additional languages depending on your IDE:
Improve software quality and get the most value - find out how you can go further as a team with Connected Mode.
Visit our issue tracker, fork SonarLint on GitHub and submit pull requests.
SonarLint for Eclipse 4.1 Released.
Get in touch and share feedback on SonarSource Community Forums.