flutter / flutter/devtools

Change inspector auto complete so it allows quick navigation through search results

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

描述

The need to revert https://github.com/flutter/devtools/pull/6677 highlighted that there is autocomplete behaviour that already uses the enter key in the search field.

To priotitize ease of use in the search field I propose that we:
- change index 0 of the selected indices to mean no selection
- allow enter, and shift+enter to navigate to next/previous while index 0 is set.
- In order to use "enter" to select an autocomplete entry, the user would have to use the down arrow once to enter the auto completions. This would mean that the autocompletions are essentially 1-indexed instead of 0-indexed.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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