Monday, December 17, 2007

Editor for Rails

Many Rails developers use TextMate (€39) for developing Rails apps. TextMate seems like a very powerful editor with auto-completion bordering on the telepathic. You can see TextMate in action in many Rails screencasts, for example on the excellent Rails casts at Railscasts.
I say seems because TextMate is only available for Macs and I'm a Windows user.

E-TextEditor ($34.95) is promoted as "The Power of TextMate on Windows", and it's pretty nice, though its still a bit rough in my opinion. You can get the look of TextMate with some real pretty color schemes.

If you really want to go for the TextMate look, you can even download the Monaco font (via WebDevKungfu), though some symbols are sometimes rendered over each other.
Also, my Win2K system doesn't do any ClearType font rendering so it also doesn't look as good in small sizes.

I suggest you stick with Courier, Lucida Console or Bitstream Vera Sans Mono. If there is interest I might write up a post about mono-spaced programming fonts.

Another useful editor is Notepad++. This is an Open Source project and it is pretty decent. Do give it a try. Although it supports Ruby syntax highlighting it does not recognize Rails extensions like .rhtml.

That said, neither Notepad++ nor E support the new Rails 2.0 file extensions like .erb files (which are really just .rhtml files).

If you found this post helpful, please leave a message in the comments.
If you want to hear more about my Rails trials and tribulations, subscribe to the blog feed and you just might be spared.

No comments: