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: XCode C/C++ auto-indent



On Wed, 27 Oct 2004 19:14:06 +0100 (BST), M S <email@hidden>
wrote:
> I have the auto-insert '}' option enabled, and it's
> quite nice the way it puts a closing bracket in for
> you. It's not so good when you ad a second opening
> brace however, as it messes up the indentation. This
> what I get after inserting the second brace:
>
> void dummy_function (void)
> {
>         for (int i=0; i<99; i++)
>                 {
>                 
>                 }
> }
> How can I get the braces to line up vertically with
> the for statement?

Set the "Solo "{" indent" to zero.

-- 
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)


 _______________________________________________
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



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.