github / github/copilot-cli

When in bash mode (`!`) tab should autocomplete, not switch to next tab

未關閉
#4,131 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
triage
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

When in bash mode (wrote `!`) tapping tab should autocomplete shell according to my shell rules, *not* switch to next tab. This is especially horrendous for trying to add filename as param to a shell command.

### Affected version

Copilot v1.0.70-0

### Steps to reproduce the behavior

1. `copilot`
2. `!`

### Expected behavior

File gets autocompleted (or any other shell command does).

### Additional context

- Windows / WT / pwsh.exe (but doubt that has any impact)

貢獻指南

開啟貢獻指南

研究方向

未指定原始檔案或測試。透過啟動 copilot、輸入 !、鍵入檔案名稱,並在回報的 Windows/WT/pwsh 設定中按下 Tab 來重現問題;然後追蹤 CLI 對 Tab 的處理以及進入 shell-mode 的入口點。完成標準是:Tab 在 bash 模式中呼叫 shell 補全而不變更定位點,同時正常的 Tab 導覽維持不變。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
powershell, shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。