Source Code Beautifier for C, C++, C#, ObjectiveC, D, Java, Pawn and VALA
Note: Uncrustify itself also supports D, Pawn and VALA, however, Inspecode does NOT support them as of now.
Patterns to include in execution and reports.
Patterns to exclude from execution and reports.
--no-backup option, and false implies
Amount of CPU. The default machine has
0.25 CPU with
960 MiB RAM.
Below is the list of options that are supported:
Basic Options: -c CFG : Use the config file CFG. --mtime : Preserve mtime on replaced files.
With default options:
inspecode: uncrustify: default
With enabling auto-fixing and default options:
inspecode: uncrustify: auto-fix
With custom machine:
inspecode: uncrustify: machine: cpu: 1.5 # 1.5 CPU, 5760 MiB RAM
With custom options:
inspecode: uncrustify: auto-fix: true options: [--mtime]
With a configuration file:
inspecode: uncrustify: config-file: ./my-uncrustify.cfg
The above configuration is equivalent to:
inspecode: uncrustify: options: -c: ./my-uncrustify.cfg
If no configuration files are specified via
options field, such as when using
default built-in configuration, Inspecode specifies the default configuration file to Uncrustify by default since Uncrustify always requires a configuration file via