如果排除了如何在声纳lint中包含文件进行分析?

问题描述 投票:2回答:1

我点击eclipse中sonarlint菜单中的“exclude”来查找文件。现在我无法弄清楚如何启用它?

现在,对于该文件,sonarlint analyze选项显示为灰色。我尝试在Preferences> SonarLink> File Exclusions中查找已排除的文件,但该文件不在列表中

enter image description here

如何从声纳lint排除中删除文件?

Eclipse版本:Mars.2发布(4.5.2)

SonarLint版本:SonarLint for Eclipse 3.6.0.201806071228

eclipse sonarlint sonarlint-eclipse
1个回答
3
投票

按照以下步骤,

  1. 绑定声纳lint的项目文件夹的属性。
  2. SonarLint在左侧导航项目的属性
  3. 文件排除(显示您排除的文件)
  4. 在文件排除部分中选择文件。只是删除

enter image description here

同样,相应的文件可用于声纳棉绒分析

© www.soinside.com 2019 - 2024. All rights reserved.