Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Visual Studio-style indent




On Aug 25, 2006, at 3:37 AM, Nir Soffer wrote:


On Aug 7, 2006, at 11:24 AM, Paul Walmsley wrote:

I would disagree with this -- with having just a single macro, Xcode gets easily confused. Try selecting a block of code whose first line happens to be a comment. What happens? It strips the leading '//' from that line and leaves the rest uncommented. In order for it to do something unambiguous you explicitly need separate comment and uncomment macros.

True, but in real life, it never happens, and works really great.

Xcode team: please DONT change this :-)

I kinda doubt we'll change it, but you can! These are all shell scripts, and they're pretty simple. The "Using Scripts To Customize Xcode" in the Xcode Users Guide talks about how to do it.


Dave
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >Visual Studio-style indent (From: Steven Fisher <email@hidden>)
 >Re: Visual Studio-style indent (From: Rob Rohan <email@hidden>)
 >Re: Visual Studio-style indent (From: Steven Fisher <email@hidden>)
 >Re: Visual Studio-style indent (From: Kay Roepke <email@hidden>)
 >Re: Visual Studio-style indent (From: Steven Fisher <email@hidden>)
 >Re: Visual Studio-style indent (From: ccsccs7 <email@hidden>)
 >Re: Visual Studio-style indent (From: j o a r <email@hidden>)
 >Re: Visual Studio-style indent (From: Paul Walmsley <email@hidden>)
 >Re: Visual Studio-style indent (From: Nir Soffer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.