SonarLint 插件離線安裝包:org.sonarlint.eclipse.site-3.6.0.201806071228-RELEASE.zip
下載地址:https://bintray.com/sonarsource/SonarLint-for-Eclipse/releases
第一步:
第二步:
第三步:點擊next後發現特別慢時,可以把“Contact all update sites during install to find required software”(尋找指定的軟件前先訪問所有更新站點)前面的勾去掉,
安裝成功
打開sonarQube servers(需要安裝sonarQube)
第一步:new-->server connection
第二部:
分析整個項目
右擊需要掃描的項目,選擇sonarLint->Bind to a sonarQube project
分析指定類:
右擊需要類,選擇sonarLint->analyze