# travisjeffery/ClangFormat-Xcode

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

Repository: https://github.com/travisjeffery/ClangFormat-Xcode
Canonical: https://ross.abutalabs.com/products/clangformat-xcode
Homepage: https://twitter.com/travisjeffery
Language: Objective-C
License: MIT
License Family: permissive
Topics: clang-format, objective-c, xcode, plugin, xcode-plugin
Last push: 2020-11-04T02:36:32+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4621, "days_push": 2129, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2876, forks 281 (observed 2026-08-28T04:07:27.347601+00:00)

## What it is
An Xcode plug-in that integrates clang-format so developers can format C/Objective-C/C++ code inside Xcode using styles like LLVM, Google, or a custom .clang-format file. It supports format-on-save, keyboard shortcuts, and per-project style configuration.

## Use cases
- format Objective-C code in Xcode with clang-format
- automatically format files on save in Xcode
- apply a consistent code style across an Xcode project
- use a custom .clang-format configuration in Xcode
- assign keyboard shortcuts to code formatting in Xcode

## When to choose
- You develop C, C++, or Objective-C in Xcode and want clang-format integration
- You want format-on-save or shortcut-triggered formatting inside Xcode
- Your team needs a shared .clang-format style applied in the editor

## When to avoid
- You use Xcode 8.3+ and cannot or will not unsign Xcode to allow community plugins
- You use Swift only, where Xcode's built-in Swift formatting tools suffice
- You need a formatter for editors other than Xcode

## Facets
- artifact type: plugin
- maturity: maintenance
- function: formatter, editor, plugin-system
- domain: developer-tools, text-editors, programming-languages
- platform: editor-plugin
- tags: xcode-plugin, clang-format, code-formatting, objective-c, alcatraz, macos

## Member repositories
- travisjeffery/ClangFormat-Xcode (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:27.347601+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:42.906418+00:00, confidence not recorded.
  - readme: https://github.com/travisjeffery/ClangFormat-Xcode (fetched 2026-08-28T04:07:27.347601+00:00, sha 5177313653c5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
