Stripping trailing whitespace
Stripping trailing whitespace
- Subject: Stripping trailing whitespace
- From: Jens Alfke <email@hidden>
- Date: Tue, 05 Jul 2011 09:58:39 -0700
While I personally couldn’t care less about trailing whitespace in source lines, various tools [git] and coding guidelines [Google] have issues with it, so for their sake I’d like to strip it.
In Xcode 3 I used the Google Toolkit For Mac [GTM] Xcode plugin, one of whose features was to automatically strip whitespace before saving a file. In Xcode 4 I thought I remembered hearing that the editor would have a pref to do this, but I can’t find one. And the script menu doesn’t seem to exist any more, so I can’t write a user script to do it. Anyone got any good tips for this?
—Jens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden