function argument indentation
function argument indentation
- Subject: function argument indentation
- From: Steve Byan <email@hidden>
- Date: Tue, 9 Mar 2010 16:58:39 -0500
I'm sure this is a well-traveled subject, but I was unable to find any mention of my specific issue in the list archive.
I'm working with vanilla C.
I'd like to write:
very_long_type_identifier *
very_long_function_name(
very_long_type_identifier_1 * very_long_argument_name_1,
very_long_type_identifier_2 * very_long_argument_name_2)
where the argument declarations are indented two levels.
However, Xcode's syntax-aware indenting insists on converting the above into:
very_long_type_identifier *
very_long_function_name(
very_long_type_identifier_1 * very_long_argument_name_1,
very_long_type_identifier_2 * very_long_argument_name_2)
where the function name is indented one level, and the argument declarations are aligned with opening parenthesis of the argument list.
The "Source Code Formatting User Defaults" document didn't seem to provide any configuration settings to help, but perhaps I'm not reading it correctly.
Can Xcode's syntax-aware indenting be configured to match my preference?
Best regards,
-Steve
--
Steve Byan <email@hidden>
Littleton, MA 01460
_______________________________________________
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