XCode C/C++ auto-indent
XCode C/C++ auto-indent
- Subject: XCode C/C++ auto-indent
- From: M S <email@hidden>
- Date: Wed, 27 Oct 2004 19:14:06 +0100 (BST)
Could someone please help me with code indenting?
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++)
{
}
}
Which has to be manually undone. Does anyone else have
this problem?
My second-choice would be to automatically indent on a
return after an opening brace, and to un-indent on a
return after a close. However, if I enable '{', '}'
and Return as Auto-Indent Characters, I get the same
result.
Even the Format -> Re-Indent option produces this
result on highlighted text blocks.
How can I get the braces to line up vertically with
the for statement?
Thanks.
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
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