That's nice, thanks for replying, and I certainly appreciate other people's work, but the fundamental question remains: is that something that can be put in as a preference setting? Or am I unreasonable / lazy for wanting it?

- g

On Sep 21, 2017 17:19, "Koen Punt" <koen@koenpunt.nl> wrote:
Oh I now see I misread; it's about whitespace, not newlines. But the bundle is a modified fork of the whitespace one:

https://github.com/bomberstudios/Strip-Whitespace-On-Save.tmbundle

Sent from Nylas Mail, the best free email app for work

On Sep 21 2017, at 10:57 pm, Koen Punt <koen@koenpunt.nl> wrote:
I have bundle installed which injects that functionality for all languages:


So no need to change the semantic classes of other bundles or whatnot.

K.

Sent from Nylas Mail, the best free email app for work

On Sep 21 2017, at 10:54 pm, George Fields <george.b.fields@gmail.com> wrote:
I know that you can rig TextMate 2 to trim trailing space on save by
editing the Text -> Converting / Stripping -> Trim... bundle by
changing the semantic class (or creating a whole new bundle). It works
well, but I was wondering if there are any plans to add this as an
option in the preferences (with a checkbox, etc.) for convenience?

It's a rather common one to have that's found on most other editors
I've seen, and it would be super cool to not have to mess with the
bundles for such a basic thing.

Kind regards,

- g

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate