Indent parameter used |
Value |
Description |
-- Blank-lines-after-declarations |
Bad |
Add blank lines after variable declaration |
-- Blank-lines-after-procedures |
Bap |
Add blank lines after function completion |
-- Blank-lines-before-block-comments |
Bbb |
Add blank lines before block comments |
-- Break-before-boolean-operator |
Bbo |
Long rows, before logical operators |
-- Blank-lines-after-commas |
Nbc |
In the variable declaration, variables separated by commas are not separated. |
-- Braces-after-if-line |
Bl |
"If" and "{" are divided into two rows. |
-- Brace-indent 0 |
Bli0 |
"{" Do not continue indent |
-- Braces-after-struct-decl-line |
Bytes |
Define structure, "struct" and "{" Branch |
-- Comment-indentationn |
C33 |
The comment after the statement starts at row 33. |
-- Declaration-comment-columnn |
Cd33 |
After the variable is declared, the comment starts at row 33. |
-- Comment-delimiters-on-blank-lines |
Ncdb |
Do not change single-line comments to block comments |
-- Cuddle-do-while |
Ncdw |
"Do --- while", "while" and "}" in front of it start with another line |
-- Cuddle-else |
Nce |
"Else" and "}" start with another line |
-- Case-indentation 0 |
Cli0 |
The case statement in the switch has 0 spaces. |
-- Else-endif-columnn |
Cp33 |
# Else, # note after endif starts at line 33 |
-- Space-after-cast |
Cs |
Add space after type conversion |
-- Line-comments-indentation n |
D0 |
Single row comment (not starting from 1 column), not indented to left |
-- Break-function-decl-args |
Nbfda |
Close: One row of function parameters |
-- Declaration-indentationn |
Di2 |
Variable Declaration. The variable starts in two rows, that is, it does not have to be aligned. |
-- Format-first-column-comments |
Nfc1 |
Do not format the comment starting from the first line |
-- Format-all-comments |
Nfca |
Disable the function of formatting all comments. |
-- Honor-newlines |
Hnl |
Prefer to break long lines at the position of newlines in the input. |
-- Indent-leveln |
I4 |
Set the number of characters to indent. If it is an integer multiple of the tabs, use the tab to indent. Otherwise, use spaces to fill the tab. |
-- Parameter-indentationn |
Ip5 |
In the old style function definition, the parameter description is indented by five spaces. |
-- Line-length 75 |
L75 |
The maximum number of non-commented rows is 75. |
-- Continue-at-parentheses |
Lp |
The last line starts with parentheses. |
-- Space-after-procedure-Cils |
Pcs |
Insert a space between the function and "(" |
-- Space-after-parentheses |
Nprs |
Do not insert spaces before "(" ")" |
-- Procnames-start-lines |
Psl |
Define the function name and return type in two rows |
-- Space-after- |
Saf |
For is followed by spaces. |
-- Space-after-if |
Sai |
If is followed by a space |
-- Space-after-while |
Saw |
While followed by spaces |
-- Start-left-side-of-comments |
Nsc |
Not adding * in the generated block comment * |
-- Swallow-optional-blank-lines |
Nsob |
Do not remove empty rows that can be added |
-- Space-special-semicolon |
Nss |
The for or while statement of a row is not empty before. |
-- Tab-size |
Ts4 |
A tab contains four spaces (to divide "-in ") |
-- Use-tabs |
Ut |
Use tab to indent |