Zend Studio 智能感知 + zend框架

发布于 2024-08-29 11:31:53 字数 405 浏览 3 评论 0原文

我的 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!

alt text

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

云巢 2024-09-05 11:31:53

我会查看每种情况下的“位置”字段并找出它们都在哪里。

我相信 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.

我三岁 2024-09-05 11:31:53

在 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文