On Thu, 18 Jun 2015 11:16:36 -0700, Jens Alfke said: >I think the most reasonable solution is what Go does — there is one >standard blessed official style, and Go ships with a tool that reformats >source code into that style. Generally you want to always check in code >in that style, so a lot of editor plugins will automatically invoke “go >fmt" to reformat your code whenever you save. I like this a lot, actually.
Xcode's own Editor > Structure > Re-Indent command could be considered the blessed style. Alos one could use clang-format in a pre-commit hook I suppose. Cheers, -- ____________________________________________________________ Sean McBride, B. Eng [email protected] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com This email sent to [email protected]
