用于Eclipse的PHP Mess Detector [英] PHP Mess Detector for Eclipse
问题描述
我安装了PTI Eclipse插件。
I have the PTI Eclipse plugin installed.
有可能更改 PDepend
, CodeSniffer
和 UnitTest
当我尝试右键单击任何文件我有一个 Mess Detector
选项,但是当我点击它时没有任何反应。在搜索所有配置选项后,我找不到 PHPMD
的任何设置。
When I try right-clicking on any file I have a Mess Detector
option as well but nothing happens when I click it. And after searching all configuration options, I and can't find any settings for PHPMD
.
有谁知道如何解决方案?
Does anyone know how to solve it?
推荐答案
旧问题,但由于仍然似乎有兴趣...我刚刚安装了PTI插件没有提到PHPMD,所以我不知道你从哪里得到Mess Detection菜单项?从
Old question but since there still seems to be interest in it... I just installed the PTI plugin and there was no mention of PHPMD so I wonder where you get the "Mess Detection" menu item from?
对于我来说实际上没有任何PTI与Eclipse Kepler SR2配合使用。无论我尝试什么都没有发生。
For me actually nothing of PTI works with Eclipse Kepler SR2. Whatever I try just nothing happens.
我建议您MakeGood在Eclipse中运行PHPUnit测试,并为您的项目设置Jenkins(包括PHPMD),需要一点时间设置,但一旦运行它是伟大的:用于PHP项目的Jenkins工作模板
I'd recommend you MakeGood for running PHPUnit tests in Eclipse and setting up Jenkins (including PHPMD) for your project, it takes a bit time to set up but once it is running it is just great: Template for Jenkins Jobs for PHP Projects
这篇关于用于Eclipse的PHP Mess Detector的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!