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.
- Around since 2016
- Listed in Homebrew, which reviews submissions
Things to watch:
- No code changes in over a year
- The latest release is more than 18 months old
- No OpenSSF Scorecard report yet, so security practices are unverified
- macOS Gatekeeper rejects this app (not notarized by Apple); you'll need to approve it manually
- Custom or unusual license: read it before relying on the app
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
- scrcpy (v5.0.1): Display and control your Android device (High trust, 81/100)
- Tauri: Build smaller, faster, and more secure desktop and mobile applications with a web frontend. (High trust, 75/100)
- Neovim: Vim-fork focused on extensibility and usability (Good, 71/100)
- Ghidra: Ghidra is a software reverse engineering (SRE) framework (Good, 66/100)
- Zed: Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. (Good, 73/100)
- Bitcoin: Bitcoin Core integration/staging tree (Good, 66/100)
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).