Re: Stopping XCode From Inserting Tab Characters
Re: Stopping XCode From Inserting Tab Characters
- Subject: Re: Stopping XCode From Inserting Tab Characters
- From: Wayne J <email@hidden>
- Date: Thu, 25 Apr 2013 15:20:15 -0700
On Apr 25, 2013, at 10:34 AM, Jens Alfke < email@hidden> wrote: This isn't a problem until you are not the only developer working on the file.
Dude, I've been working with shared files and VCS for decades. And I never noticed a problem with invisible whitespace, until I went to Google in 2008 and their coding standards were all OCD about it. At which point these unseen characters get changed and at best show up as diffs (that can be ignored) or detected as conflicts by merge tools. Then it becomes a pain.
Pretty much every diff/merge tool can be told to ignore trailing whitespace. I think it's a better idea to make our tools adapt to us, rather than the other way around.
Still, I recognize this is a religious issue, and it's a nice thing that Xcode takes care of it now, so there's nothing really to argue about :)
—Jens
Maybe the companies you work for are more disciplined at source code control. I have had cases where merge tools (both SVN and GIT) have failed when merging between branches because of white space differences. The 2nd issue I have is that you can't see them so if you change a line and then decides to go back and undo it's a pain to get the extra white spaces in the same place so that you don't get extra diffs.
For me it's not religious, but rather an annoyance.
Wayne |
_______________________________________________
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