Skip to content

Commit fe5086d

Browse files
srawlinsCommit Queue
authored andcommitted
CHANGELOG: add entries for substantial features in analyzer
Change-Id: I09e3ef3dd763cd7108a934e5d8f2a431fe4ade3c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/416321 Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Phil Quitslund <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent ea5f45e commit fe5086d

File tree

1 file changed

+35
-3
lines changed

1 file changed

+35
-3
lines changed

CHANGELOG.md

Lines changed: 35 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,46 @@
2727

2828
#### Analyzer
2929

30-
- Added the experimental [`unnecessary_ignore`][] lint rule.
30+
- Add the experimental [`unnecessary_ignore`][] lint rule.
3131
- Offer additional assist to wrap a Flutter widget with a `FutureBuilder` widget.
32+
- Add a quick assist for Wrap with ValueListenableBuilder.
33+
- The quick fix that adds names to a 'show' combinator or removes names from a
34+
'hide' combinator can now add or remove multiple names simultaneously, in
35+
order to resolve as many "undefined" errors as possible.
36+
- Renaming a closure parameter is now possible, and will adjust implicit 'this'
37+
references in order to avoid name collisions.
38+
- Renaming a field now adjusts implicit 'this' references in order to avoid
39+
name collisions.
40+
- The "encapsulate field" quick assist now works on final fields.
41+
- The "inline method" refactoring now properly handles inner closures.
42+
- Code completion is improved to offer more valid suggestions. In particular,
43+
the suggestions are improved when completing text in a comment reference on a
44+
documentation comment for an extension, a typedef, or a directive (an import,
45+
an export, or a library). Additionally, instance members can now be suggested
46+
in a documentation comment reference.
47+
- Add a quick fix to convert an (illegal) extension field declaration into a
48+
getter declaration.
49+
- Add a quick fix to help code comply with a few lint rules that encourage
50+
omitting types: `omit_local_variable_types`,
51+
`omit_obvious_local_variable_types`, and `omit_obvious_property_types`.
52+
- Add a quick fix to create an extension method to resolve an "undefined method
53+
invocation" error.
54+
- Renaming a field formal parameter now properly renames known super-parameters
55+
in subclasses in other libraries.
56+
- Renaming a method parameter now properly renames across the type hierarchy.
57+
- The "remove const" quick fix now operates on more types of code.
58+
- The "add missing required argument" quick fix can now add multiple missing
59+
required arguments.
60+
- Add a new warning that reports an import or export directive with multiple
61+
'show' or 'hide' combinators, which are never necessary.
62+
- Add a quick fix for this warning.
63+
- Add LSP document links for lint rules in analysis options files.
64+
- (Thanks [@FMorschel](https://github.com/FMorschel) for many of the above
65+
enhancements!)
3266

3367

3468
[`unnecessary_ignore`]: http://dart.dev/lints/unnecessary_ignore
3569

36-
- Added a quick assist for Wrap with ValueListenableBuilder.
37-
3870
#### Dart Development Compiler (dartdevc)
3971

4072
In order to align with dart2js semantics, DDC will now throw a runtime error

0 commit comments

Comments
 (0)