Help---eclipse marletplace

搜索sonar

点击安装

eclipse+sonarLint插件+连接sonarQube平台

一直next

安装过程中如果出现下面的错误

eclipse+sonarLint插件+连接sonarQube平台

打开Window—preferences --- install/update

把用红框圈住的选项前面的勾取消 apply and close

 

重复安装操作即可

eclipse+sonarLint插件+连接sonarQube平台

 

使用

-----------------------------------------------------------------------------------------------------------------

在sonarqube平台新建项目

eclipse+sonarLint插件+连接sonarQube平台

eclipse+sonarLint插件+连接sonarQube平台

右键项目—sonarLint—bind to sonarQube or sonarCloud

eclipse+sonarLint插件+连接sonarQube平台

选择sonarQube ---next

eclipse+sonarLint插件+连接sonarQube平台

填写sonarqube server 的url    ---next

eclipse+sonarLint插件+连接sonarQube平台

选择username+password  ---next

eclipse+sonarLint插件+连接sonarQube平台

填写 username 与 password  (默认账号密码是admin    admin)

eclipse+sonarLint插件+连接sonarQube平台

一直next   最后finish  ---add

eclipse+sonarLint插件+连接sonarQube平台

选择项目

eclipse+sonarLint插件+连接sonarQube平台

填入sonarqube平台的key

eclipse+sonarLint插件+连接sonarQube平台

eclipse+sonarLint插件+连接sonarQube平台

 

Finish

 

Window – show view – other --- sonarLint on-the-fly

eclipse+sonarLint插件+连接sonarQube平台

随便打开一个文件,就会实时显示提示

eclipse+sonarLint插件+连接sonarQube平台

 

相关文章:

  • 2021-08-01
  • 2021-07-03
  • 2021-07-22
  • 2021-09-10
  • 2021-07-16
  • 2021-08-05
  • 2021-08-22
  • 2021-05-11
猜你喜欢
  • 2021-11-21
  • 2022-12-23
  • 2021-09-29
  • 2021-04-16
  • 2021-08-08
  • 2022-12-23
相关资源
相似解决方案