All apps/Uncrustify

Uncrustify

uncrustify

A source code beautifier for C, C++, C#, D, Java and Pawn.

Runs as uncrustify|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 8 fields

Formats C, C++, C#, D, Java, Objective-C, Pawn and Vala source with an Uncrustify config. Debug and config-generation options are not included.

Opens the form; the finished command lands at your prompt, unrun
otty gui uncrustify
Format source filesExample values, fixed in this page — nothing here reaches a terminal
Basic
Config file*
file
Files*
file
Check only set by task
--check
Advanced
Language override
9 choicesenum
Quiet
-q
TasksEach one presets the form for one job
Check formatting
configfileschecklanguagequiet
Format in place
configfilesno_backuplanguage
ParametersOnly these flags are editable in the form
Config file
path
-c
Language override
Required when reading from standard input.
enum
-lCCPPDCSJAVAPAWNVALAOCOC+
Check only
Verify nothing would change; exits non-zero otherwise.
boolean
--check
Replace files (with backup)
boolean
--replace
Replace files (no backup)
boolean
--no-backup
Output file
Only valid with a single input file.
path
-o
Quiet
boolean
-q
Files
path · positional 0 · repeatable
SourcesEvery flag above is checked against these
manual
uncrustify [OPTIONS] [FILES] -c CFG Use the config file CFG, or defaults if CFG is set to '-'. -f FILE Process the single file FILE, sending output to stdout or the file -o FILE Redirect output to FILE. --check Do not output the new text, instead verify that nothing changes when the --replace Replace source files (creates a backup). --no-backup Replace files…
manual0.78.1

manpages.debian.org

Before it fills your prompt, Otty checks the installed uncrustify against its version. A form that does not match your version is not offered.