OLD | NEW |
1 40 columns | | 1 40 columns | |
2 >>> does not wrap long import string (#16366) | 2 >>> does not wrap long import string (#16366) |
3 import 'package:some/very/long/import/path.dart'; | 3 import 'package:some/very/long/import/path.dart'; |
4 <<< | 4 <<< |
5 import 'package:some/very/long/import/path.dart'; | 5 import 'package:some/very/long/import/path.dart'; |
6 >>> wrap import at as | 6 >>> wrap import at as |
7 import 'package:some/very/long/import/path.dart' as path; | 7 import 'package:some/very/long/import/path.dart' as path; |
8 <<< | 8 <<< |
9 import 'package:some/very/long/import/path.dart' | 9 import 'package:some/very/long/import/path.dart' |
10 as path; | 10 as path; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 import 'foo.dart' | 113 import 'foo.dart' |
114 hide Ape, Bear | 114 hide Ape, Bear |
115 show Ape, Bear, Cat, Dog; | 115 show Ape, Bear, Cat, Dog; |
116 >>> force split in list | 116 >>> force split in list |
117 import 'foo.dart' hide First, // | 117 import 'foo.dart' hide First, // |
118 Second; | 118 Second; |
119 <<< | 119 <<< |
120 import 'foo.dart' | 120 import 'foo.dart' |
121 hide | 121 hide |
122 First, // | 122 First, // |
123 Second; | 123 Second; |
| 124 >>> multiple configurations on one line |
| 125 import 'a' if (b) 'b' if (c) 'c'; |
| 126 <<< |
| 127 import 'a' if (b) 'b' if (c) 'c'; |
| 128 >>> if configurations don't fit, they all split |
| 129 import 'long/import/url.dart' if (b) 'b' if (c) 'c'; |
| 130 <<< |
| 131 import 'long/import/url.dart' |
| 132 if (b) 'b' |
| 133 if (c) 'c'; |
| 134 >>> do not split before uri |
| 135 import 'long/import/url.dart' if (config) 'very/long/configured/import/url.dart'
; |
| 136 <<< |
| 137 import 'long/import/url.dart' |
| 138 if (config) 'very/long/configured/import/url.dart'; |
| 139 >>> split before == |
| 140 import 'some/uri.dart' if (config.name.debug == 'string') 'c'; |
| 141 <<< |
| 142 import 'some/uri.dart' |
| 143 if (config.name.debug == |
| 144 'string') 'c'; |
OLD | NEW |