uncrustify
« Back to VersTracker
Description:
Source code beautifier
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: formatter c++ c code-quality beautifier
Install: brew install uncrustify
About:
Uncrustify is a source code beautifier that parses C, C++, C#, D, Java, and other related languages. It automatically reformats code according to a comprehensive set of configurable style rules. It is highly useful for maintaining consistent code formatting across large projects or teams.
Key Features:
  • Supports multiple languages including C, C++, C#, D, Java, and Objective-C
  • Highly configurable via a simple configuration file
  • Handles complex code structures like nested conditionals and macros
  • Can be integrated into build systems and IDEs
Use Cases:
  • Enforcing a consistent coding style across a team
  • Converting legacy code to a modern style guide
  • Automated code formatting in CI/CD pipelines
Alternatives:
  • clang-format – Part of the LLVM project, often preferred for C/C++ as it uses an AST for more accurate formatting.
  • astyle – Artistic Style, another popular formatter with a different set of formatting options and algorithms.
Version History
Detected Version Rev Change Commit
Sep 11, 2025 11:30pm 0 VERSION_BUMP 094b743a
Nov 16, 2024 2:32pm 0 VERSION_BUMP 78ff1106