http://www.jindent.com |
|
Next: Trailing Comments |
Align parameter declarations |
always
.
void calculate( int value1, int value2, String message ) { // ... } |
void calculate( int value1, int value2, String message ) { // ... } |
See also: | Jindent - Settings - Formatter - Java / SQLJ - Alignments - Chunks |
Align parameter declarations exceeding max. line length |
void calculate( | int value1, | int value2, | String 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, | String 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, String->message ) { // ... } |
void·calculate( ····int····value1, ····int····value2, ····String·message )·{ ····//·...·· }···· |