ClangFormat-Xcode icon indicating copy to clipboard operation
ClangFormat-Xcode copied to clipboard

Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang

Results 35 ClangFormat-Xcode issues
Sort by recently updated
recently updated
newest added

![bug](https://cloud.githubusercontent.com/assets/2137950/15316605/56a7b2b4-1c50-11e6-937f-8711033a8fd5.png) 这是一整个字符串,却格式化成多个.

`text = @"点击下方的“+”或者在其他应用中选择“使用易企签打开”导入文档";` The result is always like this: ``` text = @"点击下方的“+" @"”" @"或" @"者" @"在" @"其他应用中选择“使用易企签打开”导入文档"; ```

I have problems when configured plugin to use File, but open projects where there a re no `.clang-format` file. The problem is especially when format-on-save enabled. I don't wanna toggle...

Hi — since I upgraded to Xcode 7.3, it seems that the "File" mode no longer succeeds in finding the nearest `.clang-format` file. Some other clang-format rules are being applied....

@travisjeffery thanks for your ClangFormat plugin. I've created new plugin based on yours for using custom script for source code formatting. AnyFormat and ClangFormat works fine when both activated. https://github.com/ML-Works/AnyFormat-Xcode...

Does this plugin run clang formatter with -sort-includes? If so, could an option be added to disable this? When using clang formatter through this plugin, all my headers get shuffled...

enhancement

I'm using a custom clang_format equivalent to `-style="{BasedOnStyle: google, ContinuationIndentWidth: 4, ColumnLimit: 100, DerivePointerAlignment: false, PointerAlignment: Right, UseTab: Never}"` Using ClangFormat-Xcode with the bundled clang-format turns ``` -(BOOL)reallyLongFunctionName012345678901234567890123456789012345678:(ReallyLongTypeName012345678901234 *)vc{return NO;}...

bug

Hi, This software is great but since XCode 6.4 came out I've seen this issue come up where when I save comments are wrapped after each word and the same...

Use Alcatraz can't install this plugin on Xcode Version 6.2 (6C131e) And I edit the info plist, then build it, it works well FEC992CC-CA4A-4CFD-8881-77300FCB848A C4A681B0-4A26-480E-93EC-1218098B9AA0 A2E4D43F-41F4-4FB9-BB94-7177011C9AED AD68E85B-441B-4301-B564-A45E4919A6AD 63FC1C47-140D-42B0-BB4D-A10B2D225574 37B30044-3B14-46BA-ABAA-F01000C27B63 640F884E-CE55-4B40-87C0-8869546CAB7A...