Zend Studio 智能感知 + zend框架
我的 Zend 工作室遇到了一个非常烦人的问题。 我正在开发一个 zend 框架项目。实际的 zend 框架代码位于我的项目内部(在库文件夹中),然后 ZS 似乎引用了它自己的 zend 框架版本。结果,我在我的智能感知中得到了同一函数/类的两个版本,这至少可以说很烦人。
今天,当我展示了同一个类的 4 个副本时,我对 zend studio 失去了最后的耐心(想象一下看一个大的命名空间乘以 4 会是什么样子!)。
那么,如何删除 ZS 内部对其自身版本的 ZF 的所有引用呢? 谢谢!
I've got a very annoying problem with my Zend studio.
I have a zend framework project I am working on. The actual zend framework code is inside my project (in library folder) and then ZS seems to reference to its own version of zend framework. As the result, I get 2 versions of the same function/class in my intellisense which is annoying to say the least.
Today I had the last drop of patience with zend studio when I showed 4 copies of the same class (imagine what's its like looking at a large namespace times 4!).
So, how do I remove all references inside ZS to its own version of ZF?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我会查看每种情况下的“位置”字段并找出它们都在哪里。
我相信 Project->Properties->PHP Include Path 将允许您删除对其他 ZF 的引用。
I would look at the "location" field in each case and find out where they all are.
I believe that Project->Properties->PHP Include Path will allow you to remove references to the other ZFs.
在 PHP Explorer 中,右键单击项目名称。选择包含路径>配置包含路径。该属性页顶部有四个按钮 - 源、项目、库、订单。检查“源”和“库”属性表,确保项目中只有 ZF 库。
希望有帮助。
In PHP Explorer, r-click on the project name. Select Include Path > Configure Include Path. There are four buttons at the top of that property page - Source, Projects, Libraries, Order. Check the Source and Libraries property sheets to ensure that the ZF library in your project is the only one present.
Hope that helps.