How to share code style between Xcode and AppCode?
Asked Answered
C

1

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?

Clarsach answered 23/3, 2015 at 14:10 Comment(0)
H
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.

Heisenberg answered 26/3, 2015 at 8:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.