indent_col1_comment
Whether to indent comments found in first column.
Possible values are true or false, default false.
Examples
true
Before:
// main comment
int glz = 2;
int main()
{
int x = 10;
int y = 20;
// Comment line one
x = y + 21;
return x;
}
After:
// main comment
int glz = 2;
int main()
{
int x = 10;
int y = 20;
// Comment line one
x = y + 21;
return x;
}
false
Before:
// main comment
int glz = 2;
int main()
{
int x = 10;
int y = 20;
// Comment line one
x = y + 21;
return x;
}
After:
(no changes applied)
See also
- indent_with_tabs - How to use tabs when indenting code.
- input_tab_size - The original size of tabs in the input.
- output_tab_size - The size of tabs in the output (only used if align_with_tabs=true).
- indent_namespace_level - The number of spaces to indent a namespace block.