Feature Request: Add ability to remove individual file references from context
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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_
Guia de contribuição
Direção de pesquisa
Nenhum arquivo de implementação ou teste é nomeado. Comece localizando como os arquivos selecionados no VS Code se tornam contexto @filename no Copilot CLI e, em seguida, compare a exibição de contexto e o tratamento de comandos existentes. A tarefa estará concluída quando um arquivo selecionado puder ser removido ou desmarcado sem perder o histórico da conversa, com cobertura para a interação escolhida.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell, vscode
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Pouca atividade
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 35/100