Skip to content

Commit aa21742

Browse files
srawlinsCommit Queue
authored andcommitted
CHANGELOG: Add analyzer entries; organize
Change-Id: I11f340704b2e393c53c611f52accadea6d665dea Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419241 Reviewed-by: Phil Quitslund <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 007bd5d commit aa21742

File tree

1 file changed

+17
-12
lines changed

1 file changed

+17
-12
lines changed

CHANGELOG.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,40 +29,45 @@
2929

3030
#### Analyzer
3131

32-
- Add the experimental [`unnecessary_ignore`][] lint rule.
33-
- Offer additional assist to wrap a Flutter widget with a `FutureBuilder` widget.
34-
- Add a quick assist for Wrap with ValueListenableBuilder.
35-
- The quick fix that adds names to a 'show' combinator or removes names from a
36-
'hide' combinator can now add or remove multiple names simultaneously, in
37-
order to resolve as many "undefined" errors as possible.
38-
- Renaming a closure parameter is now possible, and will adjust implicit 'this'
39-
references in order to avoid name collisions.
40-
- Renaming a field now adjusts implicit 'this' references in order to avoid
41-
name collisions.
42-
- The "encapsulate field" quick assist now works on final fields.
43-
- The "inline method" refactoring now properly handles inner closures.
4432
- Code completion is improved to offer more valid suggestions. In particular,
4533
the suggestions are improved when completing text in a comment reference on a
4634
documentation comment for an extension, a typedef, or a directive (an import,
4735
an export, or a library). Additionally, instance members can now be suggested
4836
in a documentation comment reference.
37+
- Offer additional assist to wrap a Flutter widget with a `FutureBuilder` widget.
38+
- Add a quick assist to wrap with `ValueListenableBuilder`.
4939
- Add a quick fix to convert an (illegal) extension field declaration into a
5040
getter declaration.
5141
- Add a quick fix to help code comply with a few lint rules that encourage
5242
omitting types: `omit_local_variable_types`,
5343
`omit_obvious_local_variable_types`, and `omit_obvious_property_types`.
5444
- Add a quick fix to create an extension method to resolve an "undefined method
5545
invocation" error.
46+
- Renaming a closure parameter is now possible.
47+
- Renaming a field now adjusts implicit 'this' references in order to avoid
48+
name collisions.
5649
- Renaming a field formal parameter now properly renames known super-parameters
5750
in subclasses in other libraries.
5851
- Renaming a method parameter now properly renames across the type hierarchy.
52+
- The "encapsulate field" quick assist now works on final fields.
53+
- The "inline method" refactoring now properly handles inner closures.
54+
- The quick fix that adds names to a `show` combinator or removes names from a
55+
'hide' combinator can now add or remove multiple names simultaneously, in
56+
order to resolve as many "undefined" errors as possible.
5957
- The "remove const" quick fix now operates on more types of code.
6058
- The "add missing required argument" quick fix can now add multiple missing
6159
required arguments.
6260
- Add a new warning that reports an import or export directive with multiple
6361
'show' or 'hide' combinators, which are never necessary.
6462
- Add a quick fix for this warning.
6563
- Add LSP document links for lint rules in analysis options files.
64+
- Add LSP document links for dependency packages in pubspec files.
65+
- Fix various issues around patterns, like highlighting, navigation, and
66+
autocompletion.
67+
- Add the experimental [`unnecessary_ignore`][] lint rule.
68+
- Add the [`switch_on_runtimetype`][] lint rule that reports when a switch
69+
statement or switch expression uses an expression's `runtimeType` as its
70+
switch variable.
6671
- (Thanks [@FMorschel](https://github.com/FMorschel) for many of the above
6772
enhancements!)
6873

0 commit comments

Comments
 (0)