github / github/copilot-cli

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

未关闭
#2,959 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:configuration area:terminal-rendering
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

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

贡献指南

打开贡献指南

调研方向

首先跟踪 shell 命令输出的时间线处理,以及 Ctrl+O/Ctrl+E 的全部展开行为。检查如何从 ~/.copilot/settings.json 加载设置,然后添加建议的 expandTimelineByDefault 设置,使 shell 输出在启用该设置时展开,同时保持现有的紧凑默认行为不变。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
62/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。