You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Autocomplete for overriding members does not appear in all lines within an extended Class #3784
Describe the bug
Not sure if this is a bug or if it's based on the style guide of how members should be sorted.
class_SomeStatefulWidgetStateextendsState<SomeStatefulWidget> {
// ❌ autocomplete for override does not work hereString value1 ='';
// ❌ autocomplete for override does not work hereStringget value2 =>'';
// ✅ autocomplete for override works here voidmethod() {}
// ✅ autocomplete for override works here @overrideWidgetbuild(BuildContext context) {
returnContainer();
}
// ✅ autocomplete for override works here
}
To Reproduce
The code sample above and the screen recording below should have reproduction steps.
Expected behavior
I expect autocomplete to work anywhere within the class for overriding members.
Activity
[analysis_server] Handle override completion before getters
DanTup commentedon Jan 18, 2022
Fixed by dart-lang/sdk@92da237. It's an SDK change so will show in a future SDK release rather than a Dart-Code release.