github / github/copilot-cli

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

オープン
#4,131 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
triage
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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 モードで Tab がシェル補完を呼び出すことです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, shell
領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。