github / github/copilot-cli

Feature request: expand timeline by default (shell command output)

Aberta
#2,959 0 comentários 0 reações 0 responsáveis Ver no GitHub
area:configuration area:terminal-rendering
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

When Copilot CLI executes a shell command, the output is collapsed by default in the timeline (showing "2 lines..."). Users have to manually press Ctrl+O / Ctrl+E to expand all results. This creates friction when reviewing what commands actually did.

### Proposed solution

Add a user setting in settings.json (e.g. "expandTimelineByDefault": true) that automatically expands all shell command outputs in the conversation timeline.

This would benefit users who want full visibility into every command execution without needing to manually expand each result, improving transparency and trust in the agent's actions.

### Example prompts or workflows

1. User asks: "install the latest .NET 8 SDK" → Copilot runs `winget install`
→ output is collapsed, user cannot see if install succeeded without pressing Ctrl+O

2. User asks: "list installed .NET SDKs" → Copilot runs `dotnet --list-sdks`
→ result hidden by default, user misses the actual SDK versions returned

3. User asks: "what is my default .NET version?" → Copilot runs `dotnet --version`
→ answer is collapsed, user has to manually expand to see "10.0.202"

4. During a multi-step task (build, test, deploy), each command result is collapsed
→ user loses track of what succeeded or failed without manually expanding each step

### Additional context

The current workaround is Ctrl+O / Ctrl+E to expand all timeline entries manually, but this needs to be repeated every session. A persistent setting like "expandTimelineByDefault": true in ~/.copilot/settings.json would solve this cleanly without changing the default behavior for users who prefer the compact view.

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start by tracing the timeline handling for shell command output and the Ctrl+O/Ctrl+E expand-all behavior. Check how settings are loaded from ~/.copilot/settings.json, then add the proposed expandTimelineByDefault setting so shell output is expanded when enabled while the existing compact default remains unchanged.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
shell
Domínio
cli
Tipo de issue
Funcionalidade
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
62/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.