github / github/copilot-cli

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

Abierto
#2,339 0 comentarios 1 reacción 0 asignados Ver en GitHub
area:context-memory
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.