最近想选用一个轻量级的IDE配合CI开发 ,能够正确代码 提示的都比较少,要不得Zend 于是下载 了Netbeans 6.8,想按照http://www.yinzhili.com /2009/08/using-code-completion-for-codeigniter-in-netbeans.html 的教程,把System添加到Netbeans 的库里以便支持CI提示,但是不知道哪一步出了问题,就是出不来。
最后在网上找到一篇好文章,能非常简单的让Netbeans 支 持CI,
下载这个附件,然后把解压的三个文件 拷贝到nbproject里,再打开Netbeans 的工程看看,有提示了吧,哈哈
自己新建的类库不能自动提示,具体方法参看原文吧,也很简单的。
http://rhasan.com/blog /2009/09/codeigniter-auto-complete-with-netbeans/
在此分享,避免新人
ps: 关于netbeans的模板制作:
在官网上找了下资料,发现NetBeans的模板是采用FreeMarker写的,可以向其中插入下面的预定义的变量:
- ${date} inserts the current date, in this format: Feb 16, 2008
- ${encoding} inserts the default encoding, such as: UTF-8
- ${name} inserts the name of the file.
- ${nameAndExt} inserts the name of the file, together with its extension.
- ${package} inserts the name of the package where the file is created.
- ${time} inserts the current time, in this format: 7:37:58 PM
- ${user} inserts the user name.
http://platform.netbeans.org/tutorials/60/nbm-filetemplates.html#creating-the-template-file
标签:inserts,CI,Netbeans,netbeans,代码,file,name From: https://blog.51cto.com/u_8895844/6272529