xcode-plugin-clang-format copy _clang-format to the same path of your source code run "./format.sh your file path" https://clang.llvm.org/docs/ClangFormatStyleOptions.html