国内最全IT社区平台 联系我们 | 收藏本站
华晨云阿里云优惠2
您当前位置:首页 > php框架 > codeigniter > CodeIgniter and Netbeans 7.3 autocomplete

CodeIgniter and Netbeans 7.3 autocomplete

来源:程序员人生   发布时间:2014-09-18 04:20:17 阅读次数:3528次

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

生活不易,码农辛苦
如果您觉得本网站对您的学习有所帮助,可以手机扫描二维码进行捐赠
程序员人生
------分隔线----------------------------
分享到:
------分隔线----------------------------
关闭
程序员人生