-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
Description
Pattern completions without : could also add : TypeName , so we can simply write down the new variable name. Currently, it simply ends the current word but does nothing. Since we already know the user will need the type or the var/final` keyword, we can handle that to make this easier.
Repro:
void f(C c) {
if (c case C(gett))
}
abstract class C {
int get getter;
}
Metadata
Metadata
Assignees
Labels
area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.