Using tab during file autocomplete adds space
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
Using tab during file autocomplete via '@' adds the selected file/folder along with a space at the end. The space at the end causes to exit out of the autocomplete view, making the user to backspace to continue autocomplete. This makes tab and enter virtually the same, which is not ideal.
### Affected version
1.0.14
### Steps to reproduce the behavior
1. start copilot
2. enter @
3. select a folder
4. hit tab
### Expected behavior
tab should enter the selected folder, without the space at the end. should not exit out of autocomplete view
### Additional context
_No response_
贡献指南
调研方向
Start by reproducing the issue in Copilot CLI using the listed steps: enter @, select a folder, and press Tab. Read the file-autocomplete handling and verify how Tab inserts the selected path. Done means Tab enters the selected folder without a trailing space and keeps autocomplete open, while Enter retains its separate behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 65/100