【问题标题】:SonarLint - show squiggly line for violationsSonarLint - 显示违规的波浪线
【发布时间】:2023-03-27 02:27:01
【问题描述】:

我所做的:在本地安装了 SonarQube 5.6.6,添加了 checkstyle-sonar-plugin-3.6.1,从我的 Eclipse Neon2 连接到它。然后在 Sonar 中创建了一个项目(通过 mvn:clean install 和 sonar:sonar )。 eclipse 项目现在绑定到 Sonar 项目了。

会发生什么:如果有任何违规行为,它会在 Sonar 中报告。

我想要的:像

这样的一些违规行为
"Abbreviation in name 'MyAPP' must contain no more than '3' consecutive capital letters." 

在 Eclipse 中不显示为波浪线。

有什么帮助吗?

【问题讨论】:

    标签: sonarqube sonarlint


    【解决方案1】:

    SonarLint 不支持第三方分析器,例如 CheckStyle 插件。它仅支持 SonarSource 分析器(SonarJS、SonarJava、..)。

    更多信息在这里:http://www.sonarlint.org/eclipse/index.html#FAQ

    【讨论】:

      猜你喜欢
      • 2019-08-08
      • 1970-01-01
      • 1970-01-01
      • 2017-11-10
      • 2011-11-03
      • 1970-01-01
      • 2022-12-18
      • 1970-01-01
      相关资源
      最近更新 更多