CodeIgniter and Netbeans don’t
work together out of the box. And as this lengthy
bug-report suggests, there won’t be any support soon.
But we can get some of the code autocomplete working. This post will tell you how.
What we need is Netbeans 7.3 en CodeIgniter Version 2.1.3
Installing CodeIgniter
After you downloaded CodeIgniter,
install it following these
instructions. I followed these to the letter, doing what “For the best security, both the system and any application folders should be placed above web root” said. This proved to make matters complicated. I will try to point some pitfalls out.
Tutorial
You might want to follow the tutorial
section to find out how CodeIgniter works.
Code Auto Complete
Early into the tutorial you will notice that auto completion doesn’t work. $this->… will throw “No Suggestions” at you. The problem is that Netbeans needs some extra configuration to get it up and running. Here is how:
We need to install the CodeIgniter plugin ( by Junji Takakura ) into Netbeans (optional more info:https://kenai.com/projects/nbphpci/pages/NBInstall)
1. Go to Tools