Sent from my iPhone

> On Jun 19, 2015, at 11:40 AM, Sean McBride <[email protected]> wrote:
> 
> 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.
> 
> Cheer

I really wish that the indenting didn't change the indent on commented lines.  

Is there any good reason why this happens?

> -- 
> ____________________________________________________________
> 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/zav%40mac.com
> 
> This email sent to [email protected]

 _______________________________________________
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]

Reply via email to