如何获得code为完成使用NetBeans 6.9.1变量引入Zend_View的? [英] How to get code completion for variables into zend_view using netbeans 6.9.1?

查看:207
本文介绍了如何获得code为完成使用NetBeans 6.9.1变量引入Zend_View的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我评价一个切换到NetBeans IDE中管理我的zend_framework项目;

i'm evaluating to switch to netbeans ide for managing my zend_framework project;

我想有变量的名称自动完成了我的看法,在行为定义的变量,因为我在这个截屏看到,

i'd like to have autocompletion for variable's name into my view, for variables defined in actions as i see in this screencast,

http://netbeans.org/kb/docs/php/ Zend的框架-screencast.html

但我想不通。

在我的数字$这个 - >在任何视图中我看不到没有变量的名称。

When i digit $this-> in any view i can't see none variable's name.

我想了很多使用此功能。

I'd like a lot to use this feature.

感谢您,
的Mirco。

Thank you, Mirco.

推荐答案

您需要有Zend框架无论是在NetBeans或项目本身的项目包含路径。

You need to have Zend Framework either in the include path for the project within Netbeans or within the project itself.

您可以再经过使用CMD +空格。如果Netbeans的不知道对象,你可以使用 / * @var $ objInstance Object_Class_Name

You can then use cmd+space after a "->" to autocomplete an object's methods. If Netbeans doesn't know the object you can use /* @var $objInstance Object_Class_Name

在一个方法调用,您可以使用CMD + B看方法的参数。

Within a method call, you can use cmd+b to see the parameters of the method.

这篇关于如何获得code为完成使用NetBeans 6.9.1变量引入Zend_View的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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