[TxMt] Re: Save and strip whitespace

Martin Kühl martin.kuehl at gmail.com
Thu Feb 9 19:03:30 UTC 2012


On Thu, Feb 9, 2012 at 18:50, Andrew Appleton <andrew at mintdigital.com> wrote:
> Are there plans to add an option to strip trailing whitespace on save?
>
> I had this set up in TM1 like
> this http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html and it
> would be great to get ti as a feature of TM2.

You can basically do the same thing. There's a command for stripping
trailing whitespace in the Text bundle, it's called "Remove Trailing
Spaces in Document / Selection". Just duplicate that and set "Save" to
"Current Document".

HTH,
Martin


More information about the textmate mailing list