Textmate for Linux

Posted by Krzysztof Rączkiewicz Thu, 08 Feb 2007 00:32:00 GMT

Finally I did it. I’ve changed my blog engine to typo, and I’ve changed my language to English. Because of that please give me some feedback, when I make some (or lots of) grammar mistakes.

For the first, inauguration post I’ll describe my search for nice “editor” for rails development. Everybody knows that most popular, and beautiful is Textmate ;p. Editor that became standard, and prototype that everyone want to duplicate. I know that “de gustibus non disputatum est” so first I present some other products and then my final choice (for now :) )

At the begging I’ve used RadRails. It was quite nice, but first I had some problems running it on amd64 (you need to pay attention to java version – 32 bit). Now I have ubuntu 32bit, so then some new problems showed up. First of all I needed some other plugins, like for html, css and so on. So I started to use EasyEclipse LAMP which has everything that I need. But finally I thought it’s to big for me. I’ve used snippets from here and theme form there

I’ve also tried to use jEdit, prepared by colleagues from Polish Ruby on Rails forum. I’ve got some errors during usage, and I can say that it isn’t most beautiful editor I saw. Yes, yes.. I know that it’s only tool, and you should write software not admire themes.. but like DHH said (and not only him) motivation is really important during development process. Motivation comes from happiness, and I feel really happy writing my code in beautiful environment :)

I should come to the crux of the matter, so I want to present you how to make gedit to be your mate, to look and work like Textmate.

Step 1

Install gedit and gedit-plugins.

Step 2

Go to Edit->Preferences->Plugins Make “Snippets” plugin available. Get ruby and erb snippets from here and copy them to ~/.gnome2/gedit/snippets

You can check them in Edit->Preferences->Plugins->Snippets & Configurate plugin

Step 3

Get more plugins..
  1. Eddt for nice directory browsing plugin
  2. Class browser for class browser
  3. Snap Open for opening files based on regexp. At the same site there is set of files with textmate colors and font settings, but I set them manually.

Optionally you can install others

You will get something like:

gedit like textmate

gedit like textmate

that’s all for now

Tags , , , , , , , ,  | 4 comments

Comments

  1. assente said 7 days later:
    Hi nice article.. but does the class browser work with ruby class, too? ciao
  2. punkracy said 9 days later:
    Yes it does. I've added new screenshot to show you that.
  3. Stoffe said 35 days later:
    The subversion version of Class browser has a dedicated Ruby parser now, so you get a nice tree (and it supports RSpec, too). It works well for a big number of Ruby files, but I'm interested in knowing about files that fail so it can be fixed, or any other comments about it. Find my email in the source file. ;-) Thanks. Otherwise, thanks for the links.
  4. shawn said 38 days later:
    you may want to check out scribes. it is a little different, but has a great feel to it. has features like snippets, auto-closing of brackets, auto indent, syntax highlighting. etc....

(leave url/email »)

   Preview comment