为什么 PHPEd 中的代码洞察不能与 Zend Framework 一起使用?
我目前正在使用 Zend Framework 并且我使用 PHPEd 是我最喜欢的 PHP 编辑器。 我已经看到 IDE 可以跟踪我自己的函数和库并将它们显示在代码洞察中。 如何将 Zend Framework 的库添加到代码洞察中?
它们是通过 Zend Framework 的内部自动加载函数加载的,因此 PHPEd 无法找到包含它们的点,并且不会在函数列表中显示它们。 是否有可能告诉 PHPEd 始终在代码洞察中显示 Zend Framework 函数和类?
I am currently working with the Zend Framework and I use PHPEd as my favourite PHP editor. I have already seen that the IDE can trace my own functions and libraries and display them in the code insight. How can I add the libraries of Zend Framework to the code insight?
They are loaded with a internal autoload function of the Zend Framework, so PHPEd can't find the points where they are included and doesn't show them in the list of functions.
Is there a possibility to tell PHPEd always to show the Zend Framework functions and classes in the code insight?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
好的,第三次重新安装 NuSphere 后,它终于可以工作了。 我不知道为什么...
Okay, after reinstalling NuSphere a third time it finally works. I have no clue why...
当我从一开始尝试 ZF 代码时,它在 PhpED 中对我来说效果很好。
要让任何第 3 方代码出现在 Code Insight 中,您需要将相应的目录包含到其他目录的项目列表中,或者仅将包含代码的目录作为项目子目录放置。 然后打开 Code Explorer 并检查框架类。 如果它们没有出现(出于任何原因)超过 5-6 秒,只需按弹出窗口中的刷新即可。
It worked fine for me in PhpED when I tried ZF code, from the beginning.
To have any 3rd party code appeared in Code Insight, you need to either include corresponding directory into the project list of additional directories or just place the directory with code as a project subdirectory. Then open Code Explorer and check for the framework classes. If they don't appear (for any reason) for longer than 5-6sec, just press refresh in the popup.
他们(NuSphere)刚刚发布了 PhpED V11.0,它完全支持 ZF 等 - http:// www.nusphere.com/products/php_frameworks.htm
They (NuSphere) just released PhpED V11.0 which has full support for ZF etc. - http://www.nusphere.com/products/php_frameworks.htm