[英]Import quality profile or rules from SonarQube to SonarLint in eclipse
We are using SonarQube Community Edition Version 7.9.4 (build 35981)
on a remote server where we have created few quality profiles for java code.我们在远程服务器上使用
SonarQube Community Edition Version 7.9.4 (build 35981)
,我们为 java 代码创建了很少的质量配置文件。 But I want to import these profile and rules to my SonarLint
in eclipse so that I will be able to fix issues while writing code eventually saving time and iterations.但是我想将这些配置文件和规则导入到
SonarLint
中的 SonarLint 中,这样我就可以在编写代码的同时解决问题,最终节省时间和迭代。 Can this be done?这可以做到吗?
A bit late but in Eclipse you may:有点晚了,但在 Eclipse 你可以:
Right click in your project -> SonarLint -> Bind to SonarQube or SonarCloud...右键单击您的项目 -> SonarLint -> 绑定到 SonarQube 或 SonarCloud...
After you just need to pass connection information.之后你只需要传递连接信息。 Automatically the rules from actived quality profiles will be applied.
将自动应用来自激活的质量配置文件的规则。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.