|
http://www.jindent.com |
Previous: Assignments
|
Next: Assignments
|
| Align parameter declarations |

always.
|
void calculate( int value1, int * value2, char[] message ) { // ... } |
|
void calculate( int value1, int * value2, char[] message ) { // ... } |
|
See also: | Jindent - Settings - Formatter - C / C++ - Alignments - Chunks |
| Align parameter declarations exceeding max. line length |

|
void calculate( | int value1, | int * value2, | char[] message // some very long comment which exceeds maximal line length ) { | // ... | } | |
message exceeds the specified maximal
line length it will be aligned.|
void calculate( | int value1, | int * value2, | char[] message // some very long comment which exceeds maximal line length ) { | // ... | } | |
message exceeds the specified maximal
line length. Therefore it will be not aligned.| Indent parameter declarations by tab stops |

|
void calculate( int>--->value1, int *-->value2, char[]->message ) { // ... } |
|
void·calculate( ····int····value1, ····int·*··value2, ····char[]·message )·{ ····//·...·· }···· |