Items missing from code-completion when using the await keyword #32056
Labels
devexp-completion
Issues with the analysis server's code completion feature
legacy-area-analyzer
Use area-devexp instead.
P2
A bug or feature request we're likely to work on
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I was just working on some tests for the vs code validator in
flutter doctor
and noticed something unexpected with the code completion. The code is part of #14463.Here's the working/correct code (the validate method returns a Future):
I deleted
installedWithExtension
and invoked code completion, butinstalledWithExtension
wasn't listed in the completion:If I remove the
await
then it showed as expected:(@bwilkerson lmk if there's value in cc'ing you in cases like this; I don't know how cases are normally triaged and whether this makes it easier/more efficient!)
The text was updated successfully, but these errors were encountered: