问题描述
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.
这是我使用的插件:
- 蒂姆·波普(Tim Pope)的
- Vim Rails . :R,:A和gf命令是我主要用于导航的命令.
- NERDTree 用于项目/浏览器视图.
- NERDCommenter 可以轻松地进行多行注释.
- FuzzyFinder 和" FuzzyFinder-Textmate "-允许您基于文件名的portins快速查找文件.
- Ctags
- Bufexplorer
- dbext 用于执行SQL命令并在Vim中获取结果缓冲.
- Ack 和 ack插件可从Vim中获得更好的grepping体验.
- VividChalk 配色方案.
- 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,首选设置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!