Generate Constructor, Getters and Setters in NetBeans PHP IDE

NetBeans PHP support that will be part of NetBeans IDE  offers generating of constructor, getters and setters in a PHP class. To invoke the functionality, the caret position has to be inside a PHP class and you have to press shortcut ALT+Insert (CTLRL+I on Mac). After invoking the shortcut, all possible generators are offered.

Advertisements

Codeigniter Code Completion facility by using netbeans IDE

Just write the below portion before the controller class

/**
* @property CI_Loader $load
* @property CI_Form_validation $form_validation
* @property CI_Input $input
* @property CI_Email $email
* @property CI_DB_active_record $db
* @property CI_DB_forge $dbforge
* @property CI_Table $table
* @property CI_Session $session
* @property CI_FTP $ftp
* ….
*/