Ruby和Linux,首选设置? [英] Ruby and linux, preferred setup?

查看:72
本文介绍了Ruby和Linux,首选设置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Mac拥有TextMate作为红宝石开发的首选应用程序,但是linux的首选应用程序是什么?我需要一些可以轻松处理多个文件,项目结构和设置命令的程序来运行我的ruby应用程序,或者如果它是我的merb应用程序之一.语法高亮也是必须的.

Mac's have TextMate as there preferred application for ruby development, but what would be the preferred application for linux? I need something where it's easy to work with multiple files, project structure and setup commands to run my ruby app or if it is one my merb app.Syntax highlighting is also a must.

现在我通常使用Vim,但即使使用VTreeView插件或多个VIM窗口,它也不是处理多个文件或项目结构的最佳选择.

Now I typically use Vim, but it's not the best for working with multiple files or with a project structure, even with VTreeView plug-in or multiple VIM windows.

那么你们会提出什么建议?

So what would you guys suggest?

如果您有更好的VIM插件可以使用,我在这里不排除VIM.

If you have better plugins to use for VIM feel free to mention them, I'm not ruling out VIM here.

推荐答案

我在Windows和Linux上都使用Vim在Rails中进行开发(我们必须在工作中使用Windows,而我在家中仅使用Linux).两个平台的环境几乎完全相同.对我来说尤其重要的是,在各个Rails组件之间轻松导航-从Controller到视图,零件和模型,以及快速导航到测试文件.

I use Vim on both Windows and Linux for development in Rails (we have to use Windows in work, and I only use Linux at home). The environment is almost exactly the same for both platforms. Especially important for me is easy navigation between the various Rails components - from Controllers to views, partials and models, and quick navigation to test files.

这是我使用的插件:

  • Vim Rails by Tim Pope. The :R, :A and gf commands are the ones I use mostly for navigation.
  • NERDTree for a project/explorer view.
  • NERDCommenter for easy multi-line commenting.
  • FuzzyFinder and "FuzzyFinder - Textmate" - allows you to quickly find files based on portins of a file name.
  • Ctags
  • Bufexplorer
  • dbext for executing SQL commands and getting the results in a Vim buffer.
  • Ack and the ack plugin for a better grepping experience from within Vim.
  • VividChalk colour scheme.

这篇关于Ruby和Linux,首选设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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