Friday, March 11, 2011

Ruby Formatter written in Python

I recently switched from TextMate to Aquamacs to MacVim and finally to Sublime Text 2. Sublime has some great features, but it was lacking ruby code formatting until now.

Get the source from

1) Place in ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/User/
2) Bind a key to pretty_ruby.  I changed "super+b" from "build" to "pretty_ruby"

{ "keys": ["super+b"], "command": "pretty_ruby" }

Comments: Post a Comment

Subscribe to Post Comments [Atom]

<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]