TextMate vs AptanaStudio

I switched to a Macbook Pro from Dell running Windows XP late last year, which changed the way I both do and view programming. One of the biggest changes for me was which Editor to use for my development needs. I’m a Ruby on Rails and PHP programmer, so that leaves my options open to everything from a simple text editor to a full featured IDE. I’ve just recently gotten in to using TextMate (not available for PC’s) so I thought it useful to do a comparison between TextMate and AptanaStudio. But first, some history which may be applicable…

When I first started to learn programming (other than writing a dice game in Basic via the command line), I learned in Visual Studio using Visual Basic. It’s safe to say that I got very used to a full featured IDE that pretty much did everything I needed it to do. For those of you who don’t know, Visual Studio takes care of almost everything you’ll ever need. It has one of my favorite features, Intellisense, auto-complete to non-users.

When I started doing Ruby on Rails work, I gravitated to an equally robust tool available for Windows, AptanaStudio. It did everything I needed it to (and some things I didn’t). When I moved to my new Mac, I gravitated to AptanaStudio for all the same reasons. But as I continued to get used to the Unix based operating system, AptanaStudio started to slow me down, and I’d read and heard so many great things about TextMate that I gave it a try.

TextMate is a much lighter editor. In fact, it’s like TextEdit on Steroids. I immediately saw the appeal and have fully made the switch for all my development needs (PHP and Ruby). So, without further ado, here’s the bread and butter (based on Ruby on Rails development).

The Bread and Butter

AptanaStudio (with the RadRails Plugin)

Aptana Studio Screenshot

What makes it great?

  • It is a full featured IDE (based on Eclipse).
  • Has some auto-complete.
  • Does a great job of connecting your code. By Command-Clicking any method, you can follow the method to it’s source. Immensely helpful in large projects.
  • When doing MVC development, you can simply switch back and forth between views, models, controllers, and helpers by clicking the M, V, C, or H buttons in the tool bar.
  • It will tail your logs inside the IDE.
  • You can also run script/console in the IDE as well. This is actually really helpful when you’re editing a model and need to immediately test your changes.
  • It has a huge world of plugins to support Subversion and Git.
  • You can also control all of your Rails local development servers from a nice interface.
  • It’s free, which may just be enough for most people.

What really grinds my gears about AptanaStudio?

  • It is way too slow. Sometimes it just hangs there when I open a file.
  • The plugins work, for the most part. To this day, I’m still having trouble configuring it to effectively use Subversion and Git the way I want.
  • While the log tailing window works well, it can also be a memory hog on the Mac version, so I’ve stopped using it at all.
  • If a development server inadvertently drops, you can’t get it back using the IDE. Moreover, you can’t stop it or restart from the Bash or the Command Line. AptanaStudio will just hold on to it forever…or until you restart the IDE.

TextMate

TextMare Screenshot

What makes it great?

  • It’s Speedy Gonzalez. Everything you do takes about a second to complete, which is nice.
  • Single-click open. Click on a file in the left panel, and it opens immediately (no waiting at all).
  • Infinitely configurable. If you know how to work at the Command Line, you’ll feel right at home making TextMate dance to your every whim.
  • A huge community of Bundle editors contributing, and an easy way to edit and roll your own Bundles. Bundles are Plugins.
  • Separation of concerns. In programming, it’s a good idea to make sure classes do one thing and one thing only. As it turns out, it’s a pretty good idea in editors as well. I had already moved away from Aptana for my script/console, script/server, and tail needs, and I like the idea that it’s not really an embedded option in TextMate.
  • It’s sweet. If you like Bash or the Command Line, you’ll love working in TextMate…it feels like home.

What really grinds my gears about TextMate?

  • Steep learning curve. Like I said, it’s not a full-fledged IDE, it’s a text editor. That may not be everyone’s cup of tea.
  • No auto-complete. If you don’t know your classes or API, TextMate won’t help you very much. The beauty of auto-complete is that it helps you learn your classes.
  • Separation of Concerns. It’s not going to do everything for you, and that may chap some user’s hides.
  • It costs $53 US.

In the end, the editor or IDE a developer uses is an incredibly personal decision. It’s important for programmers to configure their IDE or editor so it works best for them. Both Aptana and TextMate give you a seemingly infinite number of configurations to make each your own. If I was still working on Windows machine, the decision would be a no brainer. Both are incredible tools for development, and you really can’t go wrong with either.

I would stick with AptanaStudio. Because I have the option of TextMate, the choice for me is clear, TextMate. If you haven’t tried TextMate, I’d download the trial and close out of AptanaStudio for the full period of the trial. You may not want to go back at the end of the 30 days. Power users will probably make the switch to TextMate without a thought (if they haven’t already).

-Chris

Tags: , ,

16 Responses to “TextMate vs AptanaStudio”

  1. Try Netbeans with the appropiate plugins. It’s faster than Aptana (tough is java based) and its great for rails!

  2. Chris says:

    I’ve used Netbeans before as well, but only on a PC. I’ll have to give it a look for a Mac, if only because I’m interested.

  3. wdh says:

    My understanding is that TextMate is more akin to emacs, and therefore while it doesn’t have auto-completion as one would be used to in an IDE, it has something more akin to macro expansion (for lack of a better phrase). Check out the ruby bundle and see what’s in the menu and the associated key commands. The TextMate wiki has a ton of stuff there. It might behoove you to look into how emacs handles stuff like this, as it would almost assuredly be replicated in TextMate.

  4. wdh says:

    Also, if you look in the bundles menu under apache, you should see the option to tail Apache logs.

  5. Igor says:

    Or use VIM ;)

  6. adnan. says:

    I will second the Netbeans recommendation. I’ve installed the jVI plugin for vi based text editing, so it’s like a text editor with auto complete.

    I still use the command line to start/stop servers and generate things. I found it to be the perfect fit. I can’t get away from vi, which is why I couldn’t adapt to TextMate.

  7. Gavin says:

    I landed on Coda, and while it’s not everything I want, it’s really worth checking out. Thanks for the good comparison of editors.

  8. Khang Toh says:

    I would like to suggest Komodo edit, it’s the free version of Komodo edit. There is great autocomplete for ruby, php and html/css. There is also a thing that does textmate bundle but I never could get it working right with ruby/rails.

  9. ST says:

    NetBeans, NetBeans, NetBeans. I finally gave up on the various Eclipse based IDEs as they are just painful to work with. Netbeans nails it better than any other PHP capable IDE out there. As for text editors, TextMate is a very good choice. If you must have a free one try TextWrangler or Smultron and if you want to have a powerful free one and don’t mind learning curves try vim (since you are on a Mac try MacVim).

  10. Aaron says:

    I started off using Aptana for Rails editing.

    Aptana is the most bloated piece of software I have ever used.

    I switched to TextMate after getting fed up with Aptana and I haven’t opened Aptana since.

  11. Mike says:

    There is the “e” editor for windows which mimics TextMate. I use a PC at work and a Mac at home and switching between the two is pretty seamless.

  12. Andrew says:

    Eclipse is based on SWT which doesn’t work well at all on a mac. There’s a good support for Rails in NetBeans and guys form JetBrains has a preview of RubyMine. But I’m second to suggest Komodo Edit – this editor simply rocks! It’s light, it’s fast, it does what you would wait from the editor: library support and autocompletion (at least to some extent). And unlike the IDEs above it doesn’t slow you down. Go ActiveState!

  13. David Mathers says:

    @adnan.

    Vim has auto complete since version 7.0. Get rails-vim for working with rails: http://rails.vim.tpope.net/

  14. [...] TextMate vs AptanaStudio (tags: osx software editor programming) [...]

  15. [...] Another learns the value of a good command line and programmer’s editor. [...]

  16. cafpmx says:

    Great post, i like it.

Leave a Reply

Event Clipboard