Bad autocomplete behavior
- Dominant language
- Dart
- Stars
- 1.7k
- Forks
- 404
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 18
Description
There are a few issues in this .gif.
1. As I start to type 'my' I would expect autocomplete to suggest the local variables above as autocompletions.
2. Once I type `myMap` and hit `.`, autocomplete results come up for `myMap`. Once I backspace, these autocomplete suggestions should go away.
3. As I start typing something new, the stale autocomplete results from `myMap` are still showing up when they shouldn't be.

@elliette @polina-c
Contributor guide
Research direction
Start by reproducing the three autocomplete cases described in the issue and compare them with the attached GIF. Trace the autocomplete implementation responsible for local-variable suggestions and result invalidation; done means local variables are suggested and stale results disappear after backspacing or starting new input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100