• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stopping XCode From Inserting Tab Characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stopping XCode From Inserting Tab Characters


  • Subject: Re: Stopping XCode From Inserting Tab Characters
  • From: Andy Lee <email@hidden>
  • Date: Wed, 24 Apr 2013 14:25:51 -0400

On Apr 24, 2013, at 2:17 PM, "Ray, Jeffrey R. {Jeff}(DFRC-ME)" <email@hidden> wrote:

>>
>> Can you say why you find it a hindrance? I assume you indent your code
>> anyway, so why is it a problem for Xcode to do it for you?
>>
>
>
> I cannot speak for the original poster, but I can tell you why I dislike
> it.  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 don't like those extra blanks/tabs either. Personally I don't think of it as a coding style issue, more a sort of OCD on my part; I just don't like knowing they're there.

Xcode now has an option to automatically trim trailing whitespace (Preferences > Text Editing > Editing), which I was very happy about for this reason.

--Andy


 _______________________________________________
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

References: 
 >Re: Stopping XCode From Inserting Tab Characters (From: "Ray, Jeffrey R. {Jeff}(DFRC-ME)" <email@hidden>)

  • Prev by Date: Re: Stopping XCode From Inserting Tab Characters
  • Next by Date: Re: Stopping XCode From Inserting Tab Characters
  • Previous by thread: Re: Stopping XCode From Inserting Tab Characters
  • Next by thread: Re: Stopping XCode From Inserting Tab Characters
  • Index(es):
    • Date
    • Thread