SonarQube tutorial: idea configuration and scanning projects using sonarlint plug-in

download plugin

settings -- plugins -- marketplaceSearch in sonarlint, restart idea after installation
insert image description here

configure plugin

settingsSearch in sonarlint
Configure the remote sonarqube server address and related authentication information
insert image description here

Use plugins

  • Right-click on the project name or a java file and selectAnalyze with Sonarlint
  • Or find it at the bottom of the idea sonarlintand click the green start button to start scanning.

insert image description here

Precautions

When the local cannot synchronize the rules of the remote server, click Update bindingthe button to solve the problem.
insert image description here

Guess you like

Origin blog.csdn.net/a772304419/article/details/132756831