netbeans 是否包含 phpdocumentator,以便您可以评论您的代码?
是否有一些关于如何使用它的指南,例如。我应该如何评论,如何阅读以及如何打印出来?
它没有,但此链接包含设置它的分步说明。
https://blogs.oracle.com/netbeansphp/entry/generating_php_documentation_from_netbeans
我认为可以从 PEAR 安装实际的 PHPDocumentor 工具。我怀疑它会包含在 Netbeans 中。我想 Netbeans 提供了一种安装后使用该工具的方法。
IDE 解释文档块的能力内置于 NetBeans 和 Eclipse,可能还有其他 IDE。那不是 phpDocumentor 为您工作(但我想很接近)。
安装 phpDocumentor 意味着能够从您的代码及其文档块生成 API 文档。