github / github/copilot-cli

Feature Request: Add ability to remove individual file references from context

オープン
#2,339 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:context-memory
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the feature or problem you'd like to solve

Currently, when files are opened/selected in VS Code, they automatically appear as context in Copilot CLI (shown as @filename). However, there's no way to remove individual files from context

### Proposed solution

Requested feature:
- Add a close/remove button (X) next to each @filename tag in CLI
- OR add a command like /remove-context or /deselect
- OR add ability to click the @filename tag to toggle it off

Use case:
When working on a project, I may accidentally select unrelated files in
VS Code, which then consume context memory unnecessarily. I want to remove
these without losing my entire conversation history.

This would provide feature parity with the VS Code extension and give users
better control over their context window usage.

### Example prompts or workflows

_No response_

### Additional context

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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