8

We want to start to use AppCode in my team but we want to use same code style between Xcode and AppCode (we're already using Uncrustify on Xcode).

Does someone have experience sharing code styles between Xcode and AppCode? Any tip?

4

1 回答 1

2

That was exact my problem one year ago.

There is ticket for AppCode to allow uncrustify import.

I ended up with solution that took me one day. Unfortunately uncrustify doesn't have documentation. As well categorisation of formatting in uncrustify is different from AppCode. I made uncrustify config as close as possible for AppCode formatting settings. I didn't succeed 100% but amount of difference is quite small (and still annoying). All configs ended up on wiki and in repository.

Finally all in our team (me and my buddy) are using AppCode and quite rare open Xcode. That was main fix for formatting.

于 2015-03-26T08:27:34.140 回答