From: Josh Cheek Date: 2011-08-06T15:20:02+09:00 Subject: Re: Textmate: format ruby code --20cf307f325a32d9be04a9d0346d Content-Type: text/plain; charset=ISO-8859-1 On Fri, Aug 5, 2011 at 3:04 AM, Ryan Davis wrote: > > On Aug 4, 2011, at 22:01 , Michelle Pace wrote: > > > Hello, > > > > I'm a newbie. New to textmate. New to ruby. I've looked at the ruby > > bundles which come with textmate and to my dismay there is not a "make > > my > > ugly looking ruby code all nicely formatted and indented so its pretty" > > bundle. > > Text -> Indent Selection > > Make sure your file is in ruby mode. > > > class X > def x > 42 > end > end > > becomes: > > > class X > def x > 42 > end > end > > > Also note that you need the document to be highlighted when you do this. --20cf307f325a32d9be04a9d0346d--