简体   繁体   English

将 SonarQube 中的质量配置文件或规则导入 eclipse 中的 SonarLint

[英]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.

相关问题 如何将所有规则从 SonarQube 质量配置文件导出到 SpotBugs、Checkstyle 和 PMD 规则文件 - How to export all rules from SonarQube Quality Profile to SpotBugs, Checkstyle and PMD rule files 在 SonarQube 中,为什么“Sonar way”质量配置文件不包含来自 SonarJava 存储库的所有规则 - in SonarQube, why 'Sonar way' quality profile doesn't contain all the rules from SonarJava repository Sonarlint 和其他用于 Eclipse 模拟 sonarqube 的工具 - Sonarlint and other tools for eclipse to mimic sonarqube 在eclipse中显示的Sonarlint问题与Sonarqube项目不同步 - Sonarlint issues shown in eclipse not synchronous to Sonarqube project 更改SonarQube.com上的质量配置文件 - Change quality profile on SonarQube.com 声纳方式配置文件和sonarqube java规则存储库之间的Sonarqube区别 - Sonarqube difference between sonar way profile and sonarqube java rules repository Sonarqube SonarLint定制 - Sonarqube SonarLint Customisation Sonarqube的SonarLint 4.4.1 - SonarLint for Sonarqube 4.4.1 与 SonarLint Intellij 集成后从 SonarQube 生成代码分析报告 - Generate Code Analysis Report from SonarQube after Integrating with SonarLint Intellij 安装了SonarQube和Java插件,质量配置文件下没有规则 - SonarQube and Java plugin installed, no rules under Quality Profiles
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM