swift-format vs Uncrustify
swift-format
github.comUncrustify
github.comSide by side
| Figure | swift-format | Uncrustify |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| iOS | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 1 | 1 |
| Spec score · Code formatters | 7.3 (#15) | 7.6 (#11) |
| Spec score · Code Formatting Tools | 7.4 (#27) | 7.7 (#18) |
| Configuration | Users 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. |
| Integrations | swift-format provides formatting technology for SourceKit-LSP. | The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ. |
| License | The repository identifies its license as Apache-2.0. | The repository identifies its license as GPL-2.0. |
| Purpose | swift-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
In their own words
swift-format
swift-format has no write-up on Specifiction yet; its figures are above.