More indentation issues in XCode 3
More indentation issues in XCode 3
- Subject: More indentation issues in XCode 3
- From: Andrew White <email@hidden>
- Date: Thu, 19 Mar 2009 10:03:39 +1100
Hey all,
Trying to set up XCode 3 indentation, the following was quite helpful:
http://lists.apple.com/archives/Xcode-users/2008/May/msg00110.html
It answered a lot of my questions, but I've still got a couple of issues
(for C) that are annoying me:
(1) Multi-line function header arguments:
int
myFunctionName (
int x,
int y
)
How do I get the indent on the arguments above to be \t (as above) rather
than ' '?
(2) Multi-line function body arguments:
result =
myVeryLongFunction (
x, y, z,
a, b, c
);
XCode wants to format this as:
result =
myVeryLongFunction (
x, y, z,
a, b, c
);
Which is not what I want. And because tab also means "indent" (not just
literal tab), it's actually quite a bit of work to set it up how I do want.
Three questions:
(1) Is it possible to convince XCode to use my desired formatting?
(2) If not, is it possible to turn code sense off for just these operations?
(3) Is there a keystroke to enter a literal leading tab?
In XCode 2, I couldn't figure it out, so I just turned it off completely.
But it's actually useful, so I'd rather leave it enabled in my new XCode
install if I can.
Thanks
--
Andrew White
_______________________________________________
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