【发布时间】: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.
我已经卸载并重新安装了插件,但没有,问题是一样的。顺便说一句,我无法在项目上右键单击启用指标,即使我单击属性,我也会找到指标框。
【问题讨论】: