简体   繁体   English

如何在 IntelliJ 中配置 SonarLint?

[英]How to configure SonarLint in IntelliJ?

I was using SonarLint plugin in IntelliJ IDEA by using the url of our project.我通过使用我们项目的 url 在 IntelliJ IDEA 中使用 SonarLint 插件。 However, I want to configura it independently for my custom projects, but I am confused how should I do that.但是,我想为我的自定义项目独立配置它,但我很困惑我应该怎么做。 Could you pls clarify me about the following issues?你能澄清一下以下问题吗?

1. What is the SonarCloud and SonarCube options for configuring the SonarLint plugin in IntelliJ IDEA? 1 、在 IntelliJ IDEA 中配置 SonarLint 插件的 SonarCloud 和 SonarCube 选项是什么?

2. If I have not a specific url or server for SonarQube, how should I configure the plugin? 2.如果我没有特定的url或SonarQube的服务器,我应该如何配置插件? Which section should I select (SonarCloud and SonarCube)?我应该在哪个部分 select(SonarCloud 和 SonarCube)?

I think you'll find the documentation here .我想你会在 这里找到文档。

I don't think the plugin will work if you don't have any installed SonarQube instance, or a SonarCloud account.如果您没有安装任何 SonarQube 实例或 SonarCloud 帐户,我认为该插件将无法工作。 The plugin needs to interact with a server to retrieve coding rules.该插件需要与服务器交互以检索编码规则。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM