|
http://www.jindent.com |
Previous: Parameter Declarations
|
Next: Trailing Comments
|
| Align bit fields |

|
bool field_abc :0; bool field :1; int value :2; |
|
bool field_abc :0; bool field :1; int value :2; |
|
See also: | Jindent - Settings - Formatter - C / C++ - Alignments - Chunks |
| Align bit fields exceeding max. line length |

|
bool field_abc : 0; | bool field : 1; | int value : getInitialValue(parameterOne, parameterTwo, | paremeterThree); | |
myObject exceeds the specified maximal
line length it will be aligned.|
bool field_abc : 0; | bool field : 1; | int value : getInitialValue(parameterOne, parameterTwo, | paremeterThree); | |
myObject exceeds the specified maximal
line length. Therefore it will be not aligned.| Indent bit fields by tab stops |

|
bool field_abc->:0; bool field->--->:1; int value-->--->:2; |
|
bool·field_abc·:0; bool·field·····:1; int·value······:2; |