I have a series of scripts that have a mixture of all kinds of spacing, tabs, or a complete lack thereof. Is there anything that can parse and clean .rb files in a similar manner to HTML Tidy?
Asked
Active
Viewed 260 times
0
-
This is a standard feature of Ruby IDEs. – Mark Thomas Feb 03 '11 at 00:29
3 Answers
3
-
Thanks, wasn't aware of this. Looks like it works for indentation, but doesn't help with spacing or excess line returns -- still a big step in the right direction though. – Shane T Feb 03 '11 at 00:41
-
Sorry, yes the `=` is Vim's indentation command. I didn't realise from your question that you meant not-at-the-start-of-the-line spacings – Gareth Feb 03 '11 at 00:44