flutter / flutter/devtools

Bad autocomplete behavior

未关闭
#5,269 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
console component P2 screen: debugger
主要语言
Dart
星标
1.7k
派生
404
平均合并
6 天 17 小时
30 天内合并 PR
18

描述

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.
![bad-auto-complete](https://user-images.githubusercontent.com/43759233/219765767-ca2efad6-36b1-4198-8fda-14811e48b6ed.gif)

@elliette @polina-c

贡献指南

打开贡献指南

调研方向

首先复现 issue 中描述的三个 autocomplete 案例,并将它们与附带的 GIF 进行比较。跟踪负责局部变量建议和结果失效的 autocomplete 实现;当能够建议局部变量,并且在退格删除或开始新的输入后过时结果消失时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
dart
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。