NetBeans 8.0 PHP CodeIgniter 框架支持 [英] NetBeans 8.0 PHP CodeIgniter Framework support

查看:26
本文介绍了NetBeans 8.0 PHP CodeIgniter 框架支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 netbeans 8.0 它显示 auto-complete 用于 zend 框架但不用于 codeigniter.我如何将它与 codeigniter 一起使用以获得自动完成支持???

I am using netbeans 8.0 it shows auto-complete for zend framework but not for codeigniter. How can I use it with codeigniter for auto-complete support???

谢谢

推荐答案

在此处复制答案中的代码:用于 CodeIgniter 的 Netbeans 代码完成放入项目中的 php 文件中.

Copy the code in the answer here: Netbeans code completion for CodeIgniter into a php file in your project.

我在项目的根目录中使用了 CI_Autocomplete2.0.php.这是一个黑客,但它确实有效.因为我熟悉 CI 的语法 &命名约定它做我想要的.

I used CI_Autocomplete2.0.php in the root of the project. It's a hack, but it does work. Since I'm familiarizing myself with CI's syntax & naming conventions it does what I want.

我在 7.4 中成功安装了 Kenai 7.3 模块之一,但他们在网页上显示的另一个模块没有列在插件选项中,所以我卸载了它,现在我无法再次重新安装.不过,我还没有在 NetBeans 8 中尝试过.

I successfully installed one of the Kenai 7.3 modules in 7.4, but the other one they show on the webpage wasn't listed in the plugin options, so I uninstalled it and now I can't get it to re-install again. I haven't tried it in my NetBeans 8 yet though.

抱歉,我刚刚发现 Kenai 模块都已列出.PHP CI Framework Repository"安装正常(不知道它安装了什么,如果有的话).它是不会安装并列出一堆模块依赖项的PHP CI 框架".如果我尝试使用 Nb8 时有任何要添加的内容,我会再次更新.

Sorry, I just figured out that the Kenai modules were both listed. The "PHP CI Framework Repository" installed ok (don't know what, if anything, it did yet). It's the "PHP CI Framework" that won't install and lists out a bunch of module dependencies. I'll update again if there's anything to add when I try with Nb8.

这篇关于NetBeans 8.0 PHP CodeIgniter 框架支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆