Airiness
Airiness
is an option that specifies the amount of whitespace and newlines to add or remove.
Details and Options
Examples
Basic Examples
CodeFormatter`
CodeFormatter`
Airiness
Airiness
is an option that specifies the amount of whitespace and newlines to add or remove.
Details and Options
- Airiness is an option for CodeFormat.
- Airiness can be a value between -1 and 1.
- Airiness of 0 is equivalent to all low-level newline options having value Automatic.
- Airiness of -1 is equivalent to all low-level newline options having value Delete.
- Airiness of 1 is equivalent to all low-level newline options having value Insert.
Examples
Basic Examples (1)
Needs["CodeFormatter`"]CodeFormat["If[a[], b[], c[]]", Airiness -> 0]CodeFormat["If[a[], b[], c[]]", Airiness -> -1]CodeFormat["If[a[], b[], c[]]", Airiness -> 1]