RubyMine 和 TextMate 的优缺点

发布于 2024-11-02 16:25:50 字数 657 浏览 7 评论 0原文

既然 Netbeans 停止了 Ruby 支持,我需要转向“严肃的”Ruby (on Rails) IDE。我不想发起一场恶搞战争,但我是否愿意听听使用 TextMate 或 RubyMine 作为 IDE 的优缺点,以帮助我选择应该投入时间的对象,尤其是来自使用 TextMate 或 RubyMine 的人的意见每天其中之一(“在战壕中”)。

我目前的想法是:

TextMate

  • 优点:似乎是事实上的标准
  • 缺点:我有点担心更新很少而且间隔很远
  • 缺点:我来自 Java 背景,所以这样轻量级编辑器(而不是重量级 IDE)对我来说会有点文化冲击

RubyMine

  • 优点:频繁更新
  • 优点:专注于 Ruby/Rails,加上对常见 gem 的内置支持
  • 缺点:像重构/自动完成这样的事情很容易混淆(过去几天我一直在尝试 RubyMine 试用版)
  • 缺点:它有时会停止

此外,我意识到 vim 非常受欢迎,但我发现没有菜单/ native-gui 有点令人沮丧,特别是当您习惯使用键盘快捷键来执行与操作系统其他部分中可用的功能完全不同的操作时。所以请坚持只使用 TextMate 和 RubyMine

I need to move to a "serious" Ruby (on Rails) IDE now that Netbeans is discontinuing Ruby support. I don't want to start a trolling war, but could I'd love to hear the pros and cons of using TextMate or RubyMine as an IDE, to help me choose which I should invest my time in, especially from people who are using one of them daily ("in the trenches").

My thoughts at the moment are:

TextMate

  • Pro: Seems to be the de facto standard
  • Con: I'm a bit concerned that updates are few and far between
  • Con: I come from a Java background, so such a lightweight editor (rather than a heavyweight IDE) would be a bit of a culture-shock to me

RubyMine

  • Pro: Frequent updates
  • Pro: Ruby/Rails focused, plus built-in support for common gems
  • Con: Things like refactoring/autocomplete are easy to confuse (I've been trying the RubyMine trial for the last few days)
  • Con: It can stall from time to time

Also, I realise that vim is very popular but I find that having no menus/native-gui a bit frustrating, especially when you get used to using keyboard shortcuts for things that are completely different to what's available in the rest of the OS. So please stick to just TextMate and RubyMine

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

尹雨沫 2024-11-09 16:25:50

我使用过 Textmate 和 Rubymine(以及 netbeans... 和 vi...)。我选择继续使用 Rubymine(在 netbeans ruby​​ 支持停止之后)。不过我仍然断断续续地使用 vi。

Rubymine 相对于 Textmate 的优点

  • 它实际上是一个 IDE(如果您是“编辑人员”而不是“IDE 人员”,这可能是一个缺点)。
  • 基于可靠、经过验证的 IntelliJ IDEA 基础。
  • 对 ruby​​ 生态系统周围的其他框架和技术提供良好的支持(例如:cucumber、bundler、rvm...)
  • 自动完成(这实际上非常好,因为 ruby​​ 是动态语言)
  • 能够轻松浏览任何 gem 的源代码 您正在使用
  • 出色的重构工具
  • 与 Textmate Good VCS(特别是 GIT)集成相比,
  • “在项目中查找”工作速度相当快。
  • IDE 的优秀插件
  • 与 Rails 良好集成(运行 rake 任务、生成器、捆绑安装......所有这些都在 IDE 内)。

与 Textmate 相比的缺点

  • 不那么轻量,
  • 也不那么时尚;)
  • 您可能会错过一些您最喜欢的捆绑包,这些捆绑包
  • 消耗更多的电量/内存和资源,通常
  • 有时会感觉有点慢。

恕我直言,Rubymine 是一个很棒的 IDE。我更喜欢这样而不是发短信。但我不能说它最适合你。即使您开始使用 Rubymine,您仍然会经常使用控制台。

I have used both Textmate and Rubymine (and netbeans... and vi...). I choose to stay with Rubymine (after netbeans ruby support was discontinued). However i still use vi on and off.

Advantages of Rubymine over Textmate

  • It's actually an IDE (might be a disadvantage if you are a 'editor person' and not a 'IDE person').
  • Based on the solid, proven intelliJ IDEA base.
  • Good support for other frameworks and tech around the ruby eco system (etc: cucumber, bundler, rvm...)
  • Autocomplete (this is actually pretty good, given that ruby is a dynamic lang)
  • Ability to easily browse the source code for any gem you are using
  • Great refactoring tools
  • 'Find in project' works pretty fast when compared to textmate
  • Good VCS (GIT specially) integration.
  • Great plugins for the IDE
  • Good integration with rails (run rake tasks, generators, bundle install... all from within the IDE).

Disadvantages over Textmate

  • not as lightweight
  • not as hip ;)
  • you might miss some of your favorite bundles
  • consume more power/memory and resources in general
  • can feel a bit slow at times.

Rubymine is a great IDE IMHO. I would prefer that over textmate. But i can't say its the best for you. And you will still use the console a lot even if you start using Rubymine.

无人接听 2024-11-09 16:25:50

TextMate 是许多认真的 Rails 开发人员的选择(除了 Vim,如评论中所述)。 RubyMine 缓慢且臃肿。我开始使用 Rails 开发,并在它崩溃几次后迅速切换到 TextMate。我想你会发现在进行 Rails 开发时你并不是在寻找沉重的编辑器/训练轮。自动完成很烦人,无论如何你都想在终端中完成几乎所有的事情。

TextMate is the choice of many serious Rails devs (besides Vim as has been noted in comments). RubyMine is slow and bloated. I started out Rails dev with that and quickly switched to TextMate after it crashed a couple times. I think you will find that you're not looking for a heavy editor/training wheels when doing rails dev. Autocomplete is annoying and you'll want to do pretty much everything in terminal anyway.

停顿的约定 2024-11-09 16:25:50

尽管 TextMate 没有 Netbeans 等 IDE 为 Java 提供的功能,但它具有很大的灵活性,因此不要低估它。

我已经习惯了 vim,它是我进行任何编辑的第一选择,但 TextMate 几乎是可怕的智能,尤其是当您开始深入研究并使用所有片段时。 观看网站上的视频并查看。 TextMate 还有其他优点,它支持大量语言,因此如果您使用 Ruby、Perl、Python、shell 等工作,它将可用。

Though TextMate doesn't have the bells and whistles that an IDE like Netbeans offers for Java, it has a lot of flexibility so don't discount it.

I'm so used to vim that it's my #1 choice for any editing, but TextMate is almost scary-smart, especially when you start digging in and using all the snippets. Watch the videos on the site and see. Something else TextMate has going for it, is it supports a BIG list of languages, so it will be usable if you are working in Ruby, Perl, Python, shell, etc.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文