OLD | NEW |
1 40 columns | | 1 40 columns | |
2 >>> all fit on one line | 2 >>> all fit on one line |
3 new Foo<A,B,C,D>(); | 3 new Foo<A,B,C,D>(); |
4 <<< | 4 <<< |
5 new Foo<A, B, C, D>(); | 5 new Foo<A, B, C, D>(); |
6 >>> prefer to split between args even when they all fit on next line | 6 >>> prefer to split between args even when they all fit on next line |
7 new LongClassName<First, Second, Third>(); | 7 new LongClassName<First, Second, Third>(); |
8 <<< | 8 <<< |
9 new LongClassName<First, Second, | 9 new LongClassName<First, Second, |
10 Third>(); | 10 Third>(); |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 eighth); | 58 eighth); |
59 >>> newline before typed collection should not force <> to split | 59 >>> newline before typed collection should not force <> to split |
60 { | 60 { |
61 <int>[]; | 61 <int>[]; |
62 <int>[]; | 62 <int>[]; |
63 } | 63 } |
64 <<< | 64 <<< |
65 { | 65 { |
66 <int>[]; | 66 <int>[]; |
67 <int>[]; | 67 <int>[]; |
68 } | 68 } |
| 69 >>> type arguments on invocation expressions, all on one line |
| 70 (fn)<T, S>(1, 2); |
| 71 <<< |
| 72 (fn)<T, S>(1, 2); |
| 73 >>> type arguments on invocation, prefer to not split at type args |
| 74 (longFunction)<TypeArgument>(valueArgument); |
| 75 <<< |
| 76 (longFunction)<TypeArgument>( |
| 77 valueArgument); |
| 78 >>> type arguments on invocation expressions split both type and value arguments |
| 79 (longFunction)<First, Second, Third, Fourth, Fifth, Sixth, Seventh, Eighth>(firs
t, second, third, fourth, fifth, sixth, seventh, eighth); |
| 80 <<< |
| 81 (longFunction)< |
| 82 First, |
| 83 Second, |
| 84 Third, |
| 85 Fourth, |
| 86 Fifth, |
| 87 Sixth, |
| 88 Seventh, |
| 89 Eighth>( |
| 90 first, |
| 91 second, |
| 92 third, |
| 93 fourth, |
| 94 fifth, |
| 95 sixth, |
| 96 seventh, |
| 97 eighth); |
OLD | NEW |