运行在Ubuntu Linux上的CodeIgniter IDE [英] IDE for CodeIgniter running in Ubuntu Linux

查看:112
本文介绍了运行在Ubuntu Linux上的CodeIgniter IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在这里搜索现有的问题,但没有得到我需要的具体细节,所以我问自己的问题。

I have search the existing question here, but haven't get the specific detail that I need, so I'm asking my own question.

我使用Ubuntu Linux(当前版本9.10),并使用Eclipse Galileo PDT使用CodeIgniter开发Web应用程序。我可以使自动完成工作的CodeIgniter的库和模型使用我的控制器文件中的这个注释:

I use Ubuntu Linux (current version 9.10) and use Eclipse Galileo PDT to develop web application using CodeIgniter. I can make the autocomplete worked for CodeIgniter's libraries and model using this comment in my controller file:

<?php if (!defined('BASEPATH')) exit('No direct script access allowed');
/**
 *
 * @author donny
 * @property CI_Loader $load
 * @property CI_Input $input
 * @property CI_Output $output
 * @property CI_Email $email
 * @property CI_Form_validation $form_validation
 * @property CI_URI $uri
 * @property Firephp $firephp
 * @property ADOConnection $adodb
 * @property Content_model $content_model
 */
class Content extends MY_Controller {

  function Content()
  {
    parent::MY_Controller();
    //load model
    $this->load->model('content_model');
    //...
  }

  /**
   *
   * @return void
   * @access public
   */
  function index()
  {
    //...
  }

}

使用像这样的注释在控制器文件中,Eclipse可以做自动完成当我写部分代码像 $ this-> content_model - > g 。在输入 g 后,我可以按 Ctrl + Space ,Eclipse将显示 content_model class。

Using the comment like this in the controller file, the Eclipse can do autocomplete when I wrote partial code like $this->content_model->g. After I type g, I can press Ctrl+Space and Eclipse will show any methods in the content_model class.

使用eclipse是一个负担,因为它需要大量的RAM。我经常必须杀了firefox,因为运行它会使RAM完全和系统启动使用交换空间。我知道我应该添加更多的RAM(目前我有2x1GB),但它现在不是一个可行的解决方案。

Using eclipse is quite a burden, since it need a lot of RAM. I often must kill the firefox, since running it both will make RAM full and system started to use swap space. I know that I should add more RAM (currently I have 2x1GB), but it's not a viable solution right now.

阅读其他人的问题,尝试许多编辑器和IDE过去,我正在考虑尝试免费版本的Komodo编辑。

Reading other's question and having try numerous editors and IDE in the past, I'm considering to try a free version of Komodo Edit.

我的问题在这里:


  1. 我可以让Komodo Edit执行自动完成,像我目前使用Eclipse PDT吗?你可以告诉我怎么做,或者Komodo Edit可以使用我目前在我所有的控制器中的伪属性注释吗?

  2. 你有任何其他建议的编辑和IDE可以在Ubuntu中使用,并且具有CodeIgniter的自动填充功能?

提前感谢。

更新:

现在我正在尝试Komodo Edit 5.2.4(目前为最新版本)。我打开我现有的项目,我可以单击将打开定义该函数的文件的函数名称。一个很酷的内置函数。

Right now I'm trying Komodo Edit 5.2.4 (latest version at this time). I open my existing project, and I can click the function name that will open the file where that function is defined. A cool build-in function.

当我使用它的工作,这里是功能我错过了PDT:

When I use it for work, here is the functional I missed from PDT:


  1. 在Eclipse PDT中,我编写了一个模板,使我能够快速创建一个新的控制器和模型。我可以使用 {controller_name} 编写模板,然后当我使用它时,Eclipse允许我用实际文本替换模板代码。我已经尝试模板功能在Kodomo编辑,但它不一样。你能帮助Kodomo或其他具有类似功能的IDE吗?

  1. In Eclipse PDT, I have write a template that enable me to create a new controller and model quickly. I can code the template using {controller_name} and then when I use it, Eclipse allow me to replace the template code with actual text. I have tried template feature in Kodomo Edit, but it's not the same. Can you help me with Kodomo, or another IDE with similar feature?

这就是我现在的工作使用它。

That's all for now, I'll update more while I working using it.

推荐答案

我认为 Aptana 有你正在寻找

这篇关于运行在Ubuntu Linux上的CodeIgniter IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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