-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ondevexp-completionIssues with the analysis server's code completion featureIssues with the analysis server's code completion featurelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.
Description
Create a file containing the following (with the caret removed):
void f() => <String, int>{"": ^};Place the cursor in the location of the caret and request completions. Lots of identifiers will be suggested, but none of the keywords that are valid at that location are suggested.
If you type part of a keyword and request completions at the end of the identifier
void f() => <String, int>{"": co^};The same behavior occurs, which suggests that this isn't just a problem with recovery.
However, if you type the whole keyword
void f() => <String, int>{"": const^};and request completions, then the keyword will be suggested.
FMorschel
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work ondevexp-completionIssues with the analysis server's code completion featureIssues with the analysis server's code completion featurelegacy-area-analyzerUse area-devexp instead.Use area-devexp instead.