
Prettier
7.6#1 in code formatting toolsFree planFree planWebAPIExtensionLinux
Visit
| Fact | Prettier | Uncrustify |
|---|---|---|
| Command line | The install guide documents running `prettier --write` to rewrite files and `prettier --check` in CI to detect unformatted files. | The program accepts configuration and input files, can write formatted output to a file or standard output, and can process multiple files. |
| Configuration | Configuration can use JSON, YAML, TOML, JavaScript or TypeScript files, with overrides for selected files and directories. | Version 0.83.0 has 901 configurable options. |
| Editor integrations | The official site lists integrations or support for VS Code, WebStorm, Visual Studio, Vim, Emacs, Sublime Text, Nova and Espresso. | The README links usage guidance for Vim and an Uncrustify plugin for IntelliJ. |
It suits developers who want consistent code formatting across supported languages and editors. Teams needing additional languages can use plugins, while those using ESLint can follow the documented integration guidance.
Uncrustify suits developers who want configurable command-line formatting across its listed languages and platforms. It may also fit users of Vim or IntelliJ who want to consult the project's editor resources.