The Code Completion Provider requires an additional manual installation step for NetBeans 6.9.
Please visit this forum post for installation instruction.

The Code Completion Provider for NetBeans IDE

In order to develop Ext4Yii templates we provide developers with a code completion plug-in for the NetBeans IDE. The NetBeans IDE is a powerful development environment which enables you to debug and develop PHP applications.

Installing the Code Completion Provider

To subscribe to Ext4Yii's code completion provider, you have to create a new Update Center in your NetBeans IDE installation. Adding an Update Center is very easy.

Follow the instructions below:

  • STEP 1:

    Download and Install NetBeans IDE with PHP bundle. Please visit and download the latest version of NetBeans IDE with PHP bundle.

  • STEP 2:

    After you have downloaded and installed the NetBeans IDE, go to the Tool menu then Plugins and select the Settings tab.

  • STEP 3:

    As demonstrated below click on Add to create a new Update Center

  • STEP 4:

    In the Update Center Customizer dialog enter Ext4Yii as the name and provide the Ext4Yii code completion URL:

  • STEP 5:

    After creating an Update Center the Plugins screen should contain the new Ext4Yii Update Center:

  • STEP 6:

    Next go to the Available Plugins tab, select Ext4Yii Code Completion from the plugins listing and click Install

  • STEP 7:

    The installtion procedure will start with a Wizard. Accept the Ext4Yii certificate in the Wizard if it pops up with an certificate warning and choose to restart the NetBeans IDE after the Wizard is finished

Enabling The Code Completion Provider

The Ext4Yii code completion provider within the NetBeans IDE is disabled by default. You can enable this functionally by putting the following tags in the beginning of your document (.php file).

In order to avoid typing these tags each time, we provide you with a handy macro. This Code Template macro is called xdoc. You Just type xdoc in the beginning of your document and press the <TAB> key. The IDE will insert a document type and an specialized tag which will instruct the IDE to enable the Ext4Yii Code Completion Provider.

After these tags are in place, the code completion provider will automatically be enabled and ready to go.