http://www.jindent.com |
|
Next: Assignments |
Align variable/field declarations |
int field1 = 10; int field2 = 0x0100010101; char[] message = "some text here..."; |
int field1 = 10; int field2 = 0x0100010101; char[] message = "some text here..."; |
See also: | Jindent - Settings - Formatter - C / C++ - Alignments - Chunks |
Align declarations 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 variable/field declarations by tab stops |
int>--->field1 = 10; int>--->field2 = 0x0100010101; String->message = "some text here..."; |
int····field1·=·10; int····field2·=·0x0100010101; String·message·=·"some·text·here..."; |