Install Free
Eclipse | Using SonarLint | Scan my project

Scan my project

On this page

SonarLint, a core component of the Sonar solution, is a developer's first line of defense to find and fix coding issues in real-time. The results of a SonarLint scan provide rich contextual guidance to help you improve your skills while enhancing productivity to help you resolve issues in code. 

SonarLint scans your project to provide instant feedback against hundreds of language-specific rules. When running in Connected Mode with SonarQube or SonarCloud, you can benefit from additional rules that identify security vulnerabilities and security hotspots as well as take advantage of team features that help your organization work towards a Clean Code state.

Every organization has custom policies and procedures; the SonarLint analyzer offers a level of customization to help you achieve those practices.

First steps

By default, SonarLint for Eclipse will automatically analyze all open files. In addition, scanning a full project including unopened files, or scanning all changed files is possible.

Right-click on a file, multiple files, or on the project folder in the Eclipse Explorer and select SonarLint > Analyze. Analyzing Changed files is possible only at the project level. 

Check the Running an analysis page for more information about triggering and refining the analysis process.

Scanning while in Connected Mode

When running in Connected Mode, SonarLint will sync with the SonarQube or SonarCloud Quality Profile to download issues and suppress those marked as safe or won’t fix on the server. The analyzer properties and rules will be respected, and SonarLint will use locally what is defined on the server.


Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARLINT, SONARQUBE, SONARCLOUD, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License