|
http://www.jindent.com |
Previous: Variable/Field Declarations
|
Next: Parameter Declarations
|
| Align assignments |

|
int field1 = 10; int field2 = 0x0100010101; String message = "some text here..."; |
|
int field1 = 10; int field2 = 0x0100010101; String message = "some text here..."; |
|
See also: | Jindent - Settings - Formatter - C / C++ - Alignments - Chunks |
| Align assignments exceeding max. line length |

|
int field1 = 10; | int field2 = 0x0100010101; | char[] message = "some text here..."; | MyClass myObject = new MyObject(parameterOne, parameterTwo, | paremeterThree); | |
myObject exceeds the specified maximal
line length it will be aligned.|
int field1 = 10; | int field2 = 0x0100010101; | char[] message = "some text here..."; | MyClass myObject = new MyObject(parameterOne, parameterTwo, | paremeterThree); | |
myObject exceeds the specified maximal
line length. Therefore it will be not aligned.| Indent assignments by tab stops |

|
int field1->--->= 10; int field2->--->= 0x0100010101; char[] message->= "some text here..."; |
|
int·field1·····=·10; int·field2·····=·0x0100010101; char[]·message·=·"some·text·here..."; |