download plugin
settings -- plugins -- marketplace
Search in sonarlint
, restart idea after installation
configure plugin
settings
Search in sonarlint
Configure the remote sonarqube server address and related authentication information
Use plugins
- Right-click on the project name or a java file and select
Analyze with Sonarlint
- Or find it at the bottom of the idea
sonarlint
and click the green start button to start scanning.
Precautions
When the local cannot synchronize the rules of the remote server, click Update binding
the button to solve the problem.