Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Beautify Your Ruby Code from TextMate

By Peter Cooper / August 7, 2006

Beautify

Tim Burks shows how to use a Ruby code beautifer written by Paul Lutus directly from TextMate to beautify your Ruby code with a single keypress. Ideal if you're not consistent with the tabulation and spacing yourself!

Comments

  1. Paul Battley says:

    Thank you - I've been looking for something like this.

    Paradoxically, the code of the beautifier appears to ignore all the conventions of the Ruby world with its camelCase variables and three-space indentation.

  2. Stoffe says:

    Looks like that could easily work in Gedit too, with "external tools". I think external tools so far lacks the ability to set a command like this to be only for Ruby scripts though, which is a shame.

Other Posts to Enjoy

Twitter Mentions