Skip to content
SPECIFICTION
Get listed

CSharpier vs Uncrustify

CSharpier

csharpier.com

Uncrustify

github.com

Side by side

FigureCSharpierUncrustify
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYes—
Self-hosted—Yes
Plans published11
Spec score · Code formatters8.0 (#3)7.6 (#11)
Spec score · Code Formatting Tools8.0 (#8)7.7 (#18)
ConfigurationConfiguration can use .csharpierrc JSON or YAML files or .editorconfig, with options including print width, tabs, indentation, and line endings.The project describes Uncrustify as highly configurable, with 901 options as of version 0.83.0.
Editor integrationsOfficial extensions or plugins are listed for Visual Studio 2022, Visual Studio 2019, Visual Studio Code, and Rider; the page also describes setups for Neovim, Emacs, and Zed.The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ.
PurposeCSharpier parses C# and XML code and reprints it using its own formatting rules.Uncrustify is a source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.

Plans

CSharpier

  • FreeFree

CSharpier pricing →

Uncrustify

  • UncrustifyFree

Uncrustify pricing →

In their own words

CSharpier

CSharpier is a free, open-source formatter for C# and XML. It parses source files and reprints them using its own formatting rules, with only a few basic options rather than a broad set of style switches. The homepage states support through C# version 14. Configuration can be kept in .csharpierrc JSON or YAML files or in .editorconfig, covering print width, tabs, indentation, and line endings. CSharpier runs as a .NET tool, installed for one project or globally, and CSharpier.Core provides a NuGet API for formatting from code. It can check files and returns a failing exit code by default when formatting is incorrect. Automation options include pre-commit hooks, MSBuild builds, and CI/CD workflows. Integrations are listed for Visual Studio 2022 and 2019, Visual Studio Code, Rider, Neovim, Emacs, and Zed. It runs on Windows, macOS, and Linux. Code that cannot compile produces error diagnostics instead of being formatted.

Visit csharpier.com

Uncrustify

Uncrustify has no write-up on Specifiction yet; its figures are above.

Visit github.com