开发者

Show phpDoc warnings in Eclipse

I use Eclipse PDT and phpDoc.

I would lik开发者_JAVA百科e the warnings of phpDoc to show up in the editor, just like other "validation" tools. This would help the programmer team to create better documentation.

Is there a way to do that ?

Thanks.


There's a useful tool for enforcing coding standards in PHP called PHP CodeSniffer.

It includes prebuilt rules to enforce docblock requirements. I'm sure if the provided rules aren't exactly what you need it would be relative easy to extend your own rules.

There's a prebuilt integration with Eclipse that includes some other tools like phpunit at PhpSrc

I've used these tools to enforce coding standards with good results.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜