github / github/copilot-cli

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

Đang mở
#2,959 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:configuration area:terminal-rendering
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách theo dõi cách xử lý timeline đối với đầu ra của lệnh shell và hành vi mở rộng tất cả bằng Ctrl+O/Ctrl+E. Kiểm tra cách các cài đặt được tải từ ~/.copilot/settings.json, sau đó thêm cài đặt được đề xuất expandTimelineByDefault để đầu ra shell được mở rộng khi được bật, trong khi mặc định thu gọn hiện có vẫn không thay đổi.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
62/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.