github / github/copilot-cli

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

Ouverte
#2,959 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:configuration area:terminal-rendering
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
62/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.