Ruby IDE:有什么值得一看的吗?
我目前使用 TextMate 进行所有 Rails 开发,我非常喜欢它,但我想知道如果不使用 IDE,我是否会错过任何东西。 有人从使用 TextMate 或其他强大的文本编辑器转向使用 Ruby IDE 吗? 我错过了什么吗?
I currently use TextMate for all my Rails development, and I like it very much, but I wonder if I'm missing anything by not using an IDE. Has anyone switched from using TextMate or another powerful text editor to a Ruby IDE? Am I missing anything?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(10)
Aptana RadRails 是最好的 Ruby IDE 之一,具有 Rails 支持、HTML 编辑器等。 Eclipse 的插件,也独立提供。
Aptana RadRails is one of the best Ruby IDEs out there, with Rails support, HTML editors, etc. It is a plugin for Eclipse, and is also supplied standalone.
我使用 Netbeans 是因为我喜欢测试支持和测试覆盖率功能,而且我可以将它用于多种语言和应用程序。 环境。 他们确实尝试提供一个完整的环境,但我发现我仍然需要经常使用命令行 - 启动thinking_sphinx、运行cucumber、拖尾日志等......所以它从来都不是很全面。 在我慢得要命的笔记本电脑上,它也慢得要命。
我使用了 eclipse Rails 插件一段时间,它也相当不错,但 Netbeans 在 6.5 版本中拥有相当不错的功能激增。 这赢得了我的心。
I use Netbeans because I like the test support and test coverage features combined with the fact that I can use it for multiple languages & environments. They really try to provide a complete environment but I find I still have to step out to the command line a lot - starting thinking_sphinx, running cucumber, tailing logs etc.. so it is never quite comprehensive. It is also slow as hell on my slow as hell laptop.
I used the eclipse rails plugin for a while and it is also pretty good but Netbeans had a pretty good feature surge for 6.5. that won me over.
如果您使用的是 Windows,您可能需要查看“Ruby in Steel”
我刚刚找到了它并没有太多地使用它,但到目前为止的体验很好。 因此,如果您在工作中使用 VisualStudio,这可能是一个很好的插件,可以帮助将 Ruby 引入相同的环境。
If you're on Windows you may want to look at "Ruby in Steel"
I've just found it and have not worked with it much nbut the experience so far is good. So if you use VisualStudio for your job this may be a nice addon to help get Ruby into the same environment.
在 Mac 上,这可能不值得,因为 TextMate 通过捆绑包针对 Rails 开发进行了非常优化。 不过,当我在 Windows 上时,我确实使用过 AptanaIDE。 这里的主要问题不是 IDE 本身,而是它在我拥有的机器上无法使用(足够快)的事实。 奇怪的是,对于 Ruby 程序员来说,我认为在 1Ghz/Gbyte 机器上编辑未格式化文本感觉缓慢的程序是做错了什么。
On a mac it is probably not worth it as TextMate is very optimized for Rails development through bundles. I did use AptanaIDE when I was on Windows though. The main problem here is not the IDE itself but the fact that it is not useable (as in snappy enough) on the machine I had. And strangely enough for a Ruby programmer I believe that a program that makes editing unformatted text feel sluggish on a 1Ghz/Gbyte machine is doing something wrong.
是的,我最近从 Vim 切换到 RubyMine。 (在此之前我也使用过 TextMate。)我个人认为这种权衡是值得的,因为 RubyMine 的设计和实现都非常出色。 因此,该工具的质量弥补了较重的占地面积。
我觉得 Vim “缺少”的东西包括实现良好的代码完成、通过键入部分文件名打开文件、单击符号转到声明以及许多其他东西。
Yes, I recently switched from Vim to RubyMine. (And I also used TextMate before that.) Personally I think the tradeoff is worthwhile, because of how well designed and well implemented RubyMine is. So the quality of the tool makes up for the heavier footprint.
The things I felt I was "missing" with Vim included well-implemented code completion, open files by typing partial filename, click on a symbol to go to the declaration, and a lot of other stuff.
我真的很喜欢用于 Ruby 和 Python 开发的 Komod。
I really like Komod for Ruby and Python development.
JetBrains 是 Java 传奇 IDEA IDE 的开发者,其 RubyMine 处于测试版。 DHH提到过,所以一定很好!
JetBrains, the people who created the legendary IDEA IDE for Java, have RubyMine in beta. DHH has mentioned it, so it must be good!
TextMate 是 Mac 上的开发之王,它不太臃肿,并且有很多由使用这些特定语言的开发人员制作的优秀捆绑包。 在我看来是无法击败的。
TextMate is king for Development on Mac, it's not too bloated and has so many good bundles made by the developers that use those particular languages. Can't be beat in my opinion.
我认为 IntelliJ/RubyMine 非常好,因为我已经编写 Java 代码有一段时间了。 Rails 开发存在一些功能漏洞,但我预计 Jetbrains 将在未来版本中快速修复这些漏洞。
我刚刚开始使用 Textmate,因为我的笔记本电脑是 Powerbook 12" G4。运行 IntelliJ 非常快,但它使风扇以接近“飞机引擎”的音量持续运转。使用 Textmate 使我的笔记本电脑保持安静。
I think IntelliJ/RubyMine is pretty good because I've been coding Java for a while. There's some feature holes for Rails development, but I expect that Jetbrains will quickly fix those in coming versions.
I just got turned onto Textmate because my laptop is a Powerbook 12" G4. Running IntelliJ is pretty snappy, but it makes the fans run constantly with a volume approaching "airplane engine". Working with Textmate keeps my laptop quiet.
在我看来,如果您有 Mac,textmate 是最好的 IDE。 它是高度可定制的,你几乎可以用它做任何你想做的事情。 另外,许多开发人员正在使用 textmate for Rails,因此创建可以导入和使用的脚本和功能。
当我在 Windows 上时,我将 Aptana 与 radrails 一起使用,但效果不太好。 另外,您无法对其进行太多自定义。 另一个问题是,由于它基于 eclipse,因此非常消耗资源,并且根据我的经验,它不如 textmate 那么稳定。
Aptana 有一些很酷的功能,比如能够直接从界面调用脚本/生成和 rake 任务,但这是我可以没有的东西。
In my opinion textmate is the best IDE if you have a Mac. It is highly customizable and you can pretty much do everything you want with it. Plus a lot of developers are using textmate for rails and therefore creating scripts and features that you can import and use.
I'm using Aptana with radrails when I'm on windows, but it's not as good. Plus you can't customize it as much. The other issue is that since it's based on eclipse it's quite ressource intensive and from my experience it's not as stable as textmate.
Aptana has some cool features, like being able to call script/generate and rake tasks directly from the interface, but this is something I could live without.