我已成功将intellij sonarlint与sonarqube服务器连接,如下所述:
File -> Settings -> Other Settings -> SonarLint General Settings
Click on the green + in "SonarQube servers" :
Enter a name (ex : SonarQube / localhost)
Select SonarQube and enter URL like http://localhost:9000
Authentication : select your user token or your login/pwd
Click on Finish
Click on "Update binding" to synchronize with the SonarQube server
Go to SonarLint Project Settings and bind your project to the SonarQube project
当我使用sonarlint分析一个Java文件时,它显示的问题与我在sonarqube服务器上的同一文件中看到的问题不同。
我使用了“更新绑定”,没有任何变化。任何想法,为什么sonarlint会显示与sonarqube服务器不同的问题?