|
27 | 27 |
|
28 | 28 | #### Analyzer |
29 | 29 |
|
30 | | -- Added the experimental [`unnecessary_ignore`][] lint rule. |
| 30 | +- Add the experimental [`unnecessary_ignore`][] lint rule. |
31 | 31 | - 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!) |
32 | 66 |
|
33 | 67 |
|
34 | 68 | [`unnecessary_ignore`]: http://dart.dev/lints/unnecessary_ignore |
35 | 69 |
|
36 | | -- Added a quick assist for Wrap with ValueListenableBuilder. |
37 | | - |
38 | 70 | #### Dart Development Compiler (dartdevc) |
39 | 71 |
|
40 | 72 | In order to align with dart2js semantics, DDC will now throw a runtime error |
|
0 commit comments