How to setup zend auto complete in NetBeans on Ubu

2020-04-19 05:26发布

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条回答
在下西门庆
2楼-- · 2020-04-19 05:52

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

enter image description here

查看更多
登录 后发表回答