【问题标题】:How to use SonarLint connected mode for custom rules in Spring Tool Suite (IDE)?如何在 Spring Tool Suite (IDE) 中对自定义规则使用 SonarLint 连接模式?
【发布时间】:2016-06-21 06:11:58
【问题描述】:

我有一个 SonarQube 服务器启动并运行,它配置了需要反映在 SonarLint 中的自定义规则。我运行了 SonarQube 扫描,项目显示在 https://localhost:9000 UI 屏幕中。

让我们来看看 SonarLint。如果不绑定项目,我会根据 SonarLint 中配置的默认规则遇到问题。

但是当我将模块与 SonarQube 项目绑定时,问题并没有出现。它甚至不是任何一类中的单一违规行为。

【问题讨论】:

    标签: sonarqube sonarlint


    【解决方案1】:

    你没有让它工作,因为它在 SonarLint 中还不存在。

    “很快”……

    【讨论】:

    • 是否任何 IDE 都不支持 sonar lint 中的此功能?如果支持,您能否列出这些 IDE。
    • 有适用于 JetBrains IDE 的 SonarQube 插件:plugins.jetbrains.com/plugin/7238 它对我来说是第一次尝试,但从那以后就没有了 :(
    猜你喜欢
    • 2016-10-17
    • 2013-12-01
    • 1970-01-01
    • 2016-01-15
    • 1970-01-01
    • 1970-01-01
    • 2021-11-28
    • 1970-01-01
    • 2011-03-08
    相关资源
    最近更新 更多