github / github/copilot-cli

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

Đang mở
#2,339 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
area:context-memory
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

### 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_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.