【Sonarqube】——IDEA配置sonarlint
安装sonarlint
File-->Settings-->Plugins—>Browse Respositories ,搜索sonar,在搜索列表中选择SonarLint进行安装,然后重启idea会生效。
添加sonarqube server
依次点击File-->Settings-->Other Settings-->SonarLint General Settings,并进行如下操作:
配置sonarQube Server
第一步:在弹出框中选中sonarqube填写如下信息:
Configuration Name:自己命名即可。
Server URL:服务器地址
第二步:填写完成后点击下一步:如果是默认的话
Authentication type:选择Password
Login:admin
Password:admin
点击下一步,直到结束。
第三步:设置SonarLint项目:
点击SonarLint Project Settings,勾选Enable binding to remote SonarQube server,并选择Bind to server,选择你刚添加的sonarqube server。点击OK,关闭窗口即可。
</div>
<div class="postDesc">posted @ <span id="post-date">2019-01-03 14:07</span> <a href="https://www.cnblogs.com/davina-1108/">手心没有糖</a> 阅读(<span id="post_view_count">1238</span>) 评论(<span id="post_comment_count">0</span>) <a href="https://i.cnblogs.com/EditPosts.aspx?postid=10213854" rel="nofollow">编辑</a> <a href="#" onclick="AddToWz(10213854);return false;">收藏</a></div>
</div>