无法触发整个项目的SonarLint分析 [英] Unable to trigger SonarLint Analysis on whole Project

查看:3180
本文介绍了无法触发整个项目的SonarLint分析的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Intellij 2016.1.2安装了最新的sonarLint插件。
分析即时工作正常。但是,我无法在IntelliJ分析选项卡中找到任何使用SonarLint进行分析。在SonarLint窗口>问题选项卡中,我只能看到范围当前文件或打开的文件。我没有看到任何项目范围。
所以我的问题是如何在我的整个项目中触发分析?

I have installed the latest sonarLint plugins with Intellij 2016.1.2. Analyze on the fly works fine. However, I can't find in the IntelliJ "Analyze" tab any "Analyze with SonarLint". In the SonarLint window>issues tab, I can only see scope "current file" or "opened files". I don't see any Project scope. So my question is how to trigger the analysis on my whole project ?

推荐答案

SonarLint v2.8 ,可以分析项目中的所有文件。

Since SonarLint v2.8, it's possible to analyze all files in the project.

打开 SonarLint工具窗口,转到项目文件选项卡,然后单击播放按钮。
还有一项操作可以指定快捷方式。

Open the SonarLint Tool Window, go to the Project files tab, and click in the "play" button. There is also an action to which you can assign a shortcut.

此处提供更多信息: https://www.sonarlint.org/intellij/howto.html

这篇关于无法触发整个项目的SonarLint分析的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆