How to setup zend auto complete in NetBeans on Ubuntu

不羁的心 提交于 2019-12-02 13:33:41

问题


I was stuck in setup Zend auto-complete code in NetBeans 7.1 on Ubuntu 11.04

A little help would be great !

I set in Tools->Options->PHP->Zend

/usr/bin/zf.sh as Zend script , pressed "register Provider" and restart NetBeans, I thought it would be enough.

But when I create simple form class, the auto complete doesn't work(simple example is below):

class Application_Form_AddIp extends Zend_Form {
    public function init(){
          $ip = new Zend_Form_Element_Text("ip");
          $ip->  // THERE I SHOULD GET AUTO COMPLETE-THE LIST OF POSSIBLE FUNCTIONS
    }
}

Does NetBeans have auto-complete like this example, and is it work on Ubuntu ?


回答1:


You have to set the Zend Framework into your includes on your project. Auto complete works very good with Netbeans altough under ubuntu.



来源:https://stackoverflow.com/questions/7487737/how-to-setup-zend-auto-complete-in-netbeans-on-ubuntu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!