Skip to content
SPECIFICTION
Get listed

swift-format vs Uncrustify

swift-format

github.com

Uncrustify

github.com

Side by side

Figureswift-formatUncrustify
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOSYesYes
LinuxYesYes
iOSYes—
Self-hosted—Yes
Plans published11
Spec score · Code formatters7.3 (#15)7.6 (#11)
Spec score · Code Formatting Tools7.4 (#27)7.7 (#18)
ConfigurationUsers can customize supported behavior with a JSON configuration file, and the tool searches parent directories for a .swift-format file.The project describes Uncrustify as highly configurable, with 901 options as of version 0.83.0.
Integrationsswift-format provides formatting technology for SourceKit-LSP.The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ.
LicenseThe repository identifies its license as Apache-2.0.The repository identifies its license as GPL-2.0.
Purposeswift-format provides formatting technology for Swift source code and building blocks for code formatting transformations.Uncrustify is a source code beautifier for C, C++, C#, Objective-C, D, Java, Pawn and Vala.

Plans

swift-format

  • swift-formatFree

swift-format pricing →

Uncrustify

  • UncrustifyFree

Uncrustify pricing →

In their own words

swift-format

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

Visit github.com

Uncrustify

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

Visit github.com