OLD | NEW |
(Empty) | |
| 1 40 columns | |
| 2 >>> initializer doesn't fit one line, wrap inside, keep name |
| 3 var result = myFunction(argument * argument, argument * argument); |
| 4 <<< |
| 5 var result = myFunction( |
| 6 argument * argument, |
| 7 argument * argument); |
| 8 >>> initializer doesn't fit one line, wrap inside, keep name |
| 9 result = myFunction(argument, argument, argument, argument); |
| 10 <<< |
| 11 result = myFunction(argument, argument, |
| 12 argument, argument); |
| 13 >>> wrapped initializer fits one line |
| 14 variable = longFunctionIsLoooooong(argument); |
| 15 <<< |
| 16 variable = |
| 17 longFunctionIsLoooooong(argument); |
| 18 >>> initializer doesn't fit one line, name too long |
| 19 variable = longFunctionIsLooooooooooooooong(argument, argument); |
| 20 <<< |
| 21 variable = |
| 22 longFunctionIsLooooooooooooooong( |
| 23 argument, argument); |
| 24 >>> initializer doesn't fit one line, cannot be split |
| 25 variableName = thisIsReallyQuiteAVeryLongVariableName; |
| 26 <<< |
| 27 variableName = |
| 28 thisIsReallyQuiteAVeryLongVariableName; |
| 29 >>> long function call initializer |
| 30 variableName = functionName(first, second); |
| 31 <<< |
| 32 variableName = |
| 33 functionName(first, second); |
| 34 >>> long binary expression initializer |
| 35 variableName = argument * argument + argument; |
| 36 <<< |
| 37 variableName = |
| 38 argument * argument + argument; |
OLD | NEW |