是否可以将 DocBlocks 与 dreamweaver cs5 一起使用?
我喜欢用 netbeans 记录 php,但它似乎不适用于 dreamweaver cs5。
I like documenting php with netbeans, but it doesn't seem to work with dreamweaver cs5.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当您使用 PHP 编写函数时,Dreamweaver 不会自动向代码添加任何注释(例如 DocBlocks)。您可以很容易地自己添加它们,我建议添加一个具有 DocBlock 基础知识的片段。
Dreamweaver可以弹出PHP函数的代码提示;它从实际的 PHP 代码本身收集应该向用户呈现的内容,即从函数签名,而不是从与该函数关联的任何注释。请观看此视频 显示一些 PHP 提示。因此,看起来您想问的是:不,您没有从 Dreamweaver 中的 DocBlock 获得代码提示,但您确实获得了 PHP 代码提示。
As you are writing a function in PHP, Dreamweaver does not automatically add any comments such as DocBlocks to the code. You can add them yourself quite easily, I'd suggest adding a Snippet with the basics of a DocBlock.
Dreamweaver can pop up code hints for PHP functions; it gleans what should be presented to the user from the actual PHP code itself, that is from the function signature, not from any comments associated with the function. See this video that show a bit of PHP hints. So it seems that for what it appears that your trying to ask: no, you do not get code hints from DocBlock in Dreamweaver, but you do get PHP code hints.