I am using Netbeans IDE for Php development. It gives me code completion for Kohana framework. Is there any way to have code completion for CodeIgniter in Netbeans?
Instructions:
Create a new directory inside nbproject (I used this since it’s omitted when pushing to prod) with your name of choice, I used CI_Autocomplete.
Create a new file with your name of choice, I used CI_Autocomplete_2.0.php, and place it inside the newly created folder, nbproject\CI_Autocomplete.
Paste the below code inside the new file, CI_Autocomplete_2.0.php.
Now go to (this is for OSX so not sure if it’s the same for Windows) File > Project Properties (projectname) > PHP Include Path and include the new folder you created above, nbproject\CI_Autocomplete.
Restart your project and autocomplete will work.