|
29 | 29 |
|
30 | 30 | #### Analyzer |
31 | 31 |
|
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. |
44 | 32 | - Code completion is improved to offer more valid suggestions. In particular, |
45 | 33 | the suggestions are improved when completing text in a comment reference on a |
46 | 34 | documentation comment for an extension, a typedef, or a directive (an import, |
47 | 35 | an export, or a library). Additionally, instance members can now be suggested |
48 | 36 | 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`. |
49 | 39 | - Add a quick fix to convert an (illegal) extension field declaration into a |
50 | 40 | getter declaration. |
51 | 41 | - Add a quick fix to help code comply with a few lint rules that encourage |
52 | 42 | omitting types: `omit_local_variable_types`, |
53 | 43 | `omit_obvious_local_variable_types`, and `omit_obvious_property_types`. |
54 | 44 | - Add a quick fix to create an extension method to resolve an "undefined method |
55 | 45 | 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. |
56 | 49 | - Renaming a field formal parameter now properly renames known super-parameters |
57 | 50 | in subclasses in other libraries. |
58 | 51 | - 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. |
59 | 57 | - The "remove const" quick fix now operates on more types of code. |
60 | 58 | - The "add missing required argument" quick fix can now add multiple missing |
61 | 59 | required arguments. |
62 | 60 | - Add a new warning that reports an import or export directive with multiple |
63 | 61 | 'show' or 'hide' combinators, which are never necessary. |
64 | 62 | - Add a quick fix for this warning. |
65 | 63 | - 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. |
66 | 71 | - (Thanks [@FMorschel](https://github.com/FMorschel) for many of the above |
67 | 72 | enhancements!) |
68 | 73 |
|
|
0 commit comments