Topic: Is there better way to auto format code in textmate?

I was using indent line but it really does not look good for the rails code most times. And in the book there seem to be two space tabs instead of 5 or whatever the tab desides to be at the time...

Any plugins ya know of ?

Re: Is there better way to auto format code in textmate?

Indent Line/Selection works pretty well for me in Ruby files. The HTML views don't work well though.

The tabs should be two spaces - that's the Ruby standard.

Railscasts - Free Ruby on Rails Screencasts

Re: Is there better way to auto format code in textmate?

On the bottom of TextMate

Re: Is there better way to auto format code in textmate?

Jim Gagne wrote:

On the bottom of TextMate

Posts [ 4 ]

Pages 1