System & Utilities

XcodeClangFormat

Format code in Xcode 8+ with clang-format

By mapbox. Free and open source for macOS. Latest version 1.2.1, released 2020-07-15.

Is XcodeClangFormat safe?

Trust score 34/100: Low trust. Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine.

Things to watch:

805 GitHub stars · 18k downloads.

Download XcodeClangFormat

brew install --cask xcodeclangformat

Downloads come straight from github.com/mapbox/XcodeClangFormat.

About XcodeClangFormat

...or install with Homebrew: brew install --cask xcodeclangformat

This plugin is written for Xcode 8's new plugin infrastructure and compatible through at least Xcode 11.4 It uses Clang's libclangFormat library to format code according to a .clang-format file.

Open the app, select a predefined style, or open the .clang-format file from your project:

Then, use the Format Source Code command in Xcode's Editor menu:

Similar apps

Questions

Is XcodeClangFormat safe to download?

XcodeClangFormat has an OpenShelf trust score of 34/100 (Low trust). Little evidence that this is safe or maintained. Only install it if you know the project, ideally in a sandbox or virtual machine. Main thing to watch: No code changes in over a year.

Is XcodeClangFormat free?

Yes. XcodeClangFormat is free and open source under a custom open-source license. The source code is public at github.com/mapbox/XcodeClangFormat.

Does XcodeClangFormat work on macOS?

XcodeClangFormat is available for macOS.

How do I install XcodeClangFormat?

Use a package manager. Or install it with: brew install --cask xcodeclangformat.

What are alternatives to XcodeClangFormat?

Similar open-source apps: scrcpy (v5.0.1) (trust 81/100), Tauri (trust 75/100), Neovim (trust 71/100), Ghidra (trust 66/100).