首页 文章

SonarLint没有显示外部插件的问题(PMD,FindBug,CheckStyle)

提问于
浏览
2

我在eclipse Neon中使用SonarLint版本为3.1.0 . 和SonarQube版本一样5.6.6 .

在分析项目的问题时,注意到它没有显示外部插件(PMD,FindBug,CheckStyle)的问题 .

Sonar Lint not in sync with server rules链接我了解到sonarLint将不支持外部插件 . 在SonarLint版本的未来版本中是否有任何支持外部插件的想法?

谁能帮帮我吗 .

1 回答

  • 0

    即使最新版本的SonarLint也不支持外部插件(pmd,findbugs,checkstyle等) . 它只使用由 modifying and optimising the external plugin rules 编写的sonarqube中的squid规则 .

    SonarLint不支持外部插件的原因是 pmd,findbugs analyses code in different manners pmd通过使 syntax tree 和findbugs需要 byte code 来分析代码来比较代码 . 所以 takes up a lot of time .

    要分析 faster and efficient manner sonarlint only supports squid rules from sonar server .so i don't think ,会有更新支持外部插件,如pmd,findbugs等 . 因为大多数外部插件规则在SonarQube中都有 rewritten in an optimised manner .

相关问题