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.
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:
Download and Install NetBeans IDE with PHP bundle. Please visit netbeans.org and download the latest version of NetBeans IDE with PHP bundle.
After you have downloaded and installed the NetBeans IDE, go to the Tool menu then Plugins and select the Settings tab.
As demonstrated below click on Add to create a new Update Center
In the Update Center Customizer dialog enter Ext4Yii as the name and provide the Ext4Yii code completion URL: http://www.ext4yii.com/codecompletion/index.php
After creating an Update Center the Plugins screen should contain the new Ext4Yii Update Center:
Next go to the Available Plugins tab, select Ext4Yii Code Completion from the plugins listing and click Install
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
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.