你在 Ruby on Linux 上使用什么 IDE/编辑器?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/265601/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What IDE / Editor do you use for Ruby on Linux?
提问by csexton
I've been using vim, but after reading this questionwas wondering what is being used in the linux world.
我一直在使用 vim,但是在阅读了这个问题之后,我想知道 linux 世界中正在使用什么。
回答by t3mujin
I use Eclipse with Aptana RadRails: http://aptana.com/rails
我将 Eclipse 与 Aptana RadRails 一起使用:http: //aptana.com/rails
but if you need only Ruby you can use RDT instead: http://rubyeclipse.sourceforge.net/
但如果你只需要 Ruby 你可以使用 RDT 代替:http: //rubyeclipse.sourceforge.net/
回答by t3mujin
komodo Edit is the best choice.
科莫多编辑是最好的选择。
回答by Chris Missal
I have used and really like Ruby Mine from JetBrains. It's been around since around 2008, here's the link for that: http://www.jetbrains.com/ruby/index.html
我使用过并且非常喜欢 JetBrains 的 Ruby Mine。它自 2008 年左右就出现了,这是它的链接:http: //www.jetbrains.com/ruby/index.html
回答by t3mujin
There's also Netbeans: http://ruby.netbeans.org/
还有 Netbeans:http: //ruby.netbeans.org/
回答by Dema
If you'd rather be using a light text editor instead of a heavy IDE, then I'd highly recommend going with GEdit with some additional plugins.
如果您更愿意使用轻型文本编辑器而不是重型 IDE,那么我强烈建议您使用带有一些附加插件的 GEdit。
Here's an excellent guide on how to turn your GEdit into a "Linux Textmate":
这是关于如何将您的 GEdit 变成“Linux Textmate”的优秀指南:
If you want more of a IDE, then Netbeans is the current benchmark for Ruby IDEs.
如果您想要更多的 IDE,那么 Netbeans 是 Ruby IDE 的当前基准。
回答by Pistos
回答by Pistos
I'm surprised no one has mentioned jEdit- it has a whole slew of plugins for Ruby, and unlike many other editors with Ruby support, it is very stable. There are edit modes + syntax coloration for erb, rb, javascript, haml, etc. etc. I have it set up basically to mimic TextMate, with some Eclipse-isms. It doesn't do code completion to the nines, but it does at least try to complete from the current buffer. It also has very extensible key stroke configurations and the ability to record/playback macros.
我很惊讶没有人提到jEdit- 它有大量的 Ruby 插件,并且与许多其他支持 Ruby 的编辑器不同,它非常稳定。有 erb、rb、javascript、haml 等的编辑模式 + 语法着色。我将它设置为基本上模仿 TextMate,并带有一些 Eclipse 主义。它不会对 9 点进行代码完成,但它至少会尝试从当前缓冲区完成。它还具有非常可扩展的按键配置和录制/回放宏的能力。
回答by Godcode
I'm assuming you be using Ruby for the web? Aptana IDE with the RADRails plugin would have to be the best choice.
我假设您在网络上使用 Ruby?带有 RADRails 插件的 Aptana IDE 将是最佳选择。
回答by Good Person
It all depends on what you want.
这一切都取决于你想要什么。
I personally use vim as an editor as the default ruby tools as the rest of my IDE.
我个人使用 vim 作为编辑器作为默认的 ruby 工具作为我 IDE 的其余部分。
If you are looking for a more "heavyweight" IDE look at Eclipse (http://rubyeclipse.sourceforge.net/) or netbeans (Google for link). There are a number of in-the-middle options which behave differently and have different features. Google is your best best when it comes to these.
如果您正在寻找更“重量级”的 IDE,请查看 Eclipse(http://rubyeclipse.sourceforge.net/)或 netbeans(Google 的链接)。有许多中间选项,它们的行为不同并且具有不同的功能。在这些方面,Google 是您最好的选择。
Also - please see Ruby and linux, preferred setup?and https://stackoverflow.com/questions/59968/best-editor-for-rubyIf I could close this question for being a dupe - I would.
另外 - 请参阅Ruby 和 linux,首选设置?和https://stackoverflow.com/questions/59968/best-editor-for-ruby如果我可以因为被骗而关闭这个问题 - 我会的。