PHPStorm命名空间支持不适用于Symfony2项目 [英] PHPStorm Namespace support not working for Symfony2 projects

查看:175
本文介绍了PHPStorm命名空间支持不适用于Symfony2项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在评估PHPStorm,我真的很喜欢它。它很快,或多或少都完美实现了,流程就像微风一样......

I'm evaluating PHPStorm right now, and I've really grown fond of it. It's fast, has more or less everything perfectly implemented and the flow flows like a breeze...

唯一让我烦恼的事(那是一个很大的事情)是,它似乎没有得到我的symfony2项目的命名空间。

The only thing bugging me (and that's a big one) is, that it doesn't seem to get the namespaces for my symfony2 project right.

在Netbeans中,当我输入时,请使用Symf [CTRL + SPACE] ] 它显示了所有Symfony名称空间,就在 / vendors 文件夹中。

See, in Netbeans, when I type use Symf[CTRL+SPACE] it show me all the Symfony namespaces, right out of the /vendors folder.

如果我在PHPStorm中执行相同的操作,则不会显示任何名称。这意味着整个代码的使用对供应商库不起作用,这在简单快速的编程方面非常非常糟糕。

If I do the same in PHPStorm, no namesapces are shown. That means that the whole code copletion doesn't work for the vendor libraries, which is really very, very bad in terms of easy and fast programming.

现在,我我很确定我在某个地方错过了一个设置,但我找不到它。

Now, I'm quite sure that I'm just missing a setting somewhere, but I just can't find it.

推荐答案

看起来像一个 PhpStorm中的已知问题

这篇关于PHPStorm命名空间支持不适用于Symfony2项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆