Re: Stopping XCode From Inserting Tab Characters
Re: Stopping XCode From Inserting Tab Characters
- Subject: Re: Stopping XCode From Inserting Tab Characters
- From: Jens Alfke <email@hidden>
- Date: Wed, 24 Apr 2013 11:37:39 -0700
On Apr 24, 2013, at 11:17 AM, "Ray, Jeffrey R. {Jeff}(DFRC-ME)" < email@hidden> wrote: When I want a blank line in the middle of an aligned block, it inserts unnecessary spaces into the line, which I then feel obligated to go back and remove. I realize that it's only a couple of bytes, but dangling whitespace is still a sloppy coding style, and I don't want it in my code.
I personally have never understood this (why worry about things you can't see that don't affect parsing and don't make the file noticeably bigger?) but apparently you're not alone, as Google's coding style guidelines also forbid trailing whitespace.
For what it's worth, this has come up on this list before. There doesn't seem to be a solution.
As of recent Xcode versions (4.5?) you can enable this via the checkbox Preferences > Text Editing > Automatically trim trailing whitespace and also check 'Including whitespace-only lines'.
—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