作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
当前 SonarLint for Eclipse用途 https://update.sonarlint.org/作为 SonarQube 实例。
有没有办法配置自定义 SonarQube url(使用用户身份验证)以使用您自己的默认语言配置文件?
当您需要更多规则或配置了一些排除项时(主要用于 JQuery 等外部 JavaScript 库,...)
最佳答案
太快的问题,同样 here关于 IntelliJ,但使用 Eclipse 回答。
此功能将是 v2.0 支持 ( SLE-26 )。
但是,有一个解决方法......
免责声明 :此解决方法是 SonarSource 不支持 ,这不是一个可持续的解决方案和 不得 部署在生产环境中。这只是一个“有趣的技术内容”,直到插件正式支持该功能。
先决条件 :
sonar.forceAuthentication=false
) eclipse.ini
文件(在 eclipse.exe 旁边),首先添加:
-pluginCustomization
myPrefs.ini
-startup
...
myPrefs.ini
文件(在 eclipse.exe/eclipse.ini 旁边):
# SonaQube - SonarLint URL override
org.sonarlint.eclipse.core/server_url=http\://localhost:9000
关于eclipse - Eclipse : Configure a custom SonarQube & language profile? 的 SonarLint,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33291974/
我是一名优秀的程序员,十分优秀!