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

Side by Side Diff: CHANGELOG.md

Issue 1191833002: Split after "=>" if the parameters split. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | lib/src/source_visitor.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # 0.2.0 1 # 0.2.0
2 2
3 * **BREAKING:** The `indent` argument to `new DartFormatter()` is now a number 3 * **BREAKING:** The `indent` argument to `new DartFormatter()` is now a number
4 of *spaces*, not *indentation levels*. 4 of *spaces*, not *indentation levels*.
5 5
6 * This version introduces a new n-way constraint system replacing the previous 6 * This version introduces a new n-way constraint system replacing the previous
7 binary constraints. It's mostly an internal change, but allows us to fix a 7 binary constraints. It's mostly an internal change, but allows us to fix a
8 number of bugs that the old solver couldn't express solutions to. 8 number of bugs that the old solver couldn't express solutions to.
9 9
10 In particular, it forces argument and parameter lists to go one-per-line if 10 In particular, it forces argument and parameter lists to go one-per-line if
(...skipping 11 matching lines...) Expand all
22 * More precisely control newlines between declarations (#173). 22 * More precisely control newlines between declarations (#173).
23 * Nest cascades like expressions (#200, #203, #205, #221, #236). 23 * Nest cascades like expressions (#200, #203, #205, #221, #236).
24 * Do not nest blocks inside single-argument function and method calls. 24 * Do not nest blocks inside single-argument function and method calls.
25 * Do nest blocks inside `=>` functions. 25 * Do nest blocks inside `=>` functions.
26 * Set failure exit code for malformed input when reading from stdin (#359). 26 * Set failure exit code for malformed input when reading from stdin (#359).
27 * Indent cascades more deeply when the receiver is a method call (#137). 27 * Indent cascades more deeply when the receiver is a method call (#137).
28 * Prefer splitting at "." on non-identifier method targets (#161). 28 * Prefer splitting at "." on non-identifier method targets (#161).
29 * Nest blocks deeper inside a wrapped conditional operator (#186). 29 * Nest blocks deeper inside a wrapped conditional operator (#186).
30 * Split named arguments if the positional arguments split (#189). 30 * Split named arguments if the positional arguments split (#189).
31 * Prefer splitting after `=>` over other options (#217). 31 * Prefer splitting after `=>` over other options (#217).
32 * If a `=>` function's parameters split, split after the `=>` too (#250).
32 33
33 # 0.1.8 34 # 0.1.8
34 35
35 * Update to latest `analyzer` and `args` packages. 36 * Update to latest `analyzer` and `args` packages.
36 * Allow cascades with repeated method names to be one line. 37 * Allow cascades with repeated method names to be one line.
37 38
38 # 0.1.7 39 # 0.1.7
39 40
40 * Update to latest analyzer (#177). 41 * Update to latest analyzer (#177).
41 * Don't discard annotations on initializing formals (#197). 42 * Don't discard annotations on initializing formals (#197).
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 86
86 # 0.1.2 87 # 0.1.2
87 88
88 * Move split conditional operators to the beginning of the next line. 89 * Move split conditional operators to the beginning of the next line.
89 90
90 # 0.1.1 91 # 0.1.1
91 92
92 * Support formatting enums (#120). 93 * Support formatting enums (#120).
93 * Handle Windows line endings in multiline strings (#126). 94 * Handle Windows line endings in multiline strings (#126).
94 * Increase nesting for conditional operators (#122). 95 * Increase nesting for conditional operators (#122).
OLDNEW
« no previous file with comments | « no previous file | lib/src/source_visitor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698