enum FormatStyle::UseTabStyle
Description
Different ways to use tab in formatting.
Declared at: clang/include/clang/Format/Format.h:3824
Enumerators
Name | Value | Comment |
---|---|---|
UT_Never | 0 | Never use tab. |
UT_ForIndentation | 1 | Use tabs only for indentation. |
UT_ForContinuationAndIndentation | 2 | Fill all leading whitespace with tabs, and use spaces for alignment that appears within a line (e.g. consecutive assignments and declarations). |
UT_AlignWithSpaces | 3 | Use tabs for line continuation and indentation, and spaces for alignment. |
UT_Always | 4 | Use tabs whenever we need to fill whitespace that spans at least from one tab stop to the next one. |