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

Side by Side Diff: test/whitespace/enums.unit

Issue 844653002: Format enums. Fix #120. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 11 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
« lib/src/dart_formatter.dart ('K') | « test/splitting/enums.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
(Empty)
1 40 columns |
2 >>> single
3 enum Unity {ONE}
4 <<<
5 enum Unity { ONE }
6 >>> single line
7 enum Primate{BONOBO,CHIMP,GORILLA}
8 <<<
9 enum Primate { BONOBO, CHIMP, GORILLA }
10 >>> single line trailing comma
11 enum Primate{BONOBO,CHIMP,}
12 <<<
13 enum Primate { BONOBO, CHIMP, }
14 >>> metadata
15 @Awesome @Fierce("really")
16 enum Primate{BONOBO,CHIMP,GORILLA}
17 <<<
18 @Awesome
19 @Fierce("really")
20 enum Primate { BONOBO, CHIMP, GORILLA }
OLDNEW
« lib/src/dart_formatter.dart ('K') | « test/splitting/enums.unit ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698