【问题标题】:Metrics plugin Eclipse doesn't work指标插件 Eclipse 不起作用
【发布时间】:2017-06-02 06:17:15
【问题描述】:

我在 Eclipse Mars 中安装了 Metrics 插件,但是当我转到该指标视图时,它会显示以下消息:

No metrics available for selection. To calculate and display metrics:

1) ensure you are in a java perspective using the package explorer
2) select a project and enable the metrics from its context menu
3) perform a full rebuild on the project

After the above steps, selecting any java element in the project will result in metrics being shown here. Automatic builds will keep the metrics up-to-date by re-calculating the metrics for changed elements only.

我已经卸载并重新安装了插件,但没有,问题是一样的。顺便说一句,我无法在项目上右键单击启用指标,即使我单击属性,我也会找到指标框。

【问题讨论】:

    标签: eclipse plugins metrics


    【解决方案1】:

    这是一个非常古老的问题,可能并不适合所有人,但只需更改代码然后执行它就可以了。

    执行重建之类的操作无济于事,因为插件似乎检测到没有进行任何更改。

    正如我所说,可能不会为所有人解决问题,但这会节省我一些时间。

    【讨论】:

      猜你喜欢
      • 2012-04-24
      • 2012-09-29
      • 2021-03-20
      • 1970-01-01
      • 2012-02-23
      • 2014-01-29
      • 2012-10-13
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多