Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: test/splitting/imports.unit

Issue 1257443002: Split before "deferred" if present. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/regression/361.unit ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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;
11 >>> split before deferred
12 import 'package:some/very/long/import/path.dart' deferred as path;
13 <<<
14 import 'package:some/very/long/import/path.dart'
15 deferred as path;
11 >>> import keeps shows on one line 16 >>> import keeps shows on one line
12 import 'foo.dart'show Ape,Bear,Cat; 17 import 'foo.dart'show Ape,Bear,Cat;
13 <<< 18 <<<
14 import 'foo.dart' show Ape, Bear, Cat; 19 import 'foo.dart' show Ape, Bear, Cat;
15 >>> import moves all shows to next line 20 >>> import moves all shows to next line
16 import 'foo.dart'show Ape,Bear,Cat,Dog; 21 import 'foo.dart'show Ape,Bear,Cat,Dog;
17 <<< 22 <<<
18 import 'foo.dart' 23 import 'foo.dart'
19 show Ape, Bear, Cat, Dog; 24 show Ape, Bear, Cat, Dog;
20 >>> import moves all shows each to their own line 25 >>> import moves all shows each to their own line
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 hide Ape, Bear 114 hide Ape, Bear
110 show Ape, Bear, Cat, Dog; 115 show Ape, Bear, Cat, Dog;
111 >>> force split in list 116 >>> force split in list
112 import 'foo.dart' hide First, // 117 import 'foo.dart' hide First, //
113 Second; 118 Second;
114 <<< 119 <<<
115 import 'foo.dart' 120 import 'foo.dart'
116 hide 121 hide
117 First, // 122 First, //
118 Second; 123 Second;
OLDNEW
« no previous file with comments | « test/regression/361.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698