Re: Newbie questions about XCode
Re: Newbie questions about XCode
- Subject: Re: Newbie questions about XCode
- From: Roland King <email@hidden>
- Date: Wed, 3 Feb 2010 20:26:33 +0800
That doesn't help with templated code as when you create a new project, that comes right out of the Class.h etc files in the library with the formatting it had on it when it was typed in. As far as I know the only reformatter there is (reindent) just reindents, it doesn't retroactively go and reapply those formatting rules. If it did, I'd be happy.
You're right, it does not apply to templates, but at least it works for text macros. It's useful if you use them to generate conditional block, loops or method skull (like dealloc).
yeah it's great for those, this is what I have for instance
rols$ defaults read com.apple.XCode XCCodeSenseFormattingOptions { InExpressionsSpacing = " "; InFunctionArgsSpacing = " "; PreExpressionsSpacing = ""; PreMethodTypeSpacing = ""; }
what I'd love is a hotkey which took a region of code and applied those rules to it as well as just indenting it.
ok bugreporter time
|
_______________________________________________
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