travisjeffery / ClangFormat-Xcode

Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang
https://twitter.com/travisjeffery
MIT License
2.89k stars 288 forks source link

How to align colons #61

Open francois-roget opened 9 years ago

francois-roget commented 9 years ago

How can we ask the formatter to align the colons vertically for the method calls with multiple parameters, just like the Xcode "re-indent" function does?

Thanks in advance.

KingOfBrian commented 9 years ago

This may be the result of a clang format bug:

https://llvm.org/bugs/show_bug.cgi?id=23317

If your issue is different, send me your .clang-format and code snippet and I'll see what I can do