Netbeans加入CI的代码提示
  4yu2JdefgeRW 2023年11月02日 32 0


最近想选用一个轻量级的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

 

 

 

 

 

【版权声明】本文内容来自摩杜云社区用户原创、第三方投稿、转载,内容版权归原作者所有。本网站的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱: cloudbbs@moduyun.com

  1. 分享:
最后一次编辑于 2023年11月08日 0

暂无评论

推荐阅读
  01BFOGI7NzGp   2023年11月02日   84   0   0 nginxluanginx location ifide
4yu2JdefgeRW