[TxMt] TM Ruby and Tabs

s.ross cwdinfo at gmail.com
Mon Jan 15 03:26:31 UTC 2007


For some reason, over time, about half of my Ruby files have 4-space  
indents and the other half want to indent by 2 spaces. I've been  
living with it, but not my source is looking a bit like it had too  
much to drink last night. Questions:

1) How do I tell TM how many spaces to indent?
2) Is there some cool way to invoke the auto indenter across a whole  
file (I know it will get some of the indents a bit wrong, but it's  
easier than going line by line)?

Thanks




More information about the textmate mailing list