Skip to content

Run in terminal: Show terminal inline inside the chat view #257468

@iwangbowen

Description

@iwangbowen

Type: Feature Request

Feature Request: Inline Terminal Command Execution in GitHub Copilot Agent Mode

I would like to propose an enhancement for GitHub Copilot's agent mode in VS Code. Currently, when the agent needs to execute terminal commands, it opens a separate terminal in the panel. Instead, I suggest implementing inline terminal command execution directly within the chat output area.

Proposed Functionality

  • Display the command execution and its output inline within the Copilot chat interface
  • Maintain conversation context by keeping all interactions in one place
  • Show command execution progress and results without switching context

Benefits

  • Improved workflow continuity by eliminating the need to switch focus between the chat and terminal panel
  • Better readability and tracking of the conversation history that includes commands and their outputs
  • More intuitive and streamlined user experience, especially for complex multi-step operations
  • Enhanced ability to review and reference previous commands and their results
  • Reduced screen clutter by consolidating interaction points

This would create a more seamless experience when working with Copilot's agent features that require command-line operations.

VS Code version: Code - Insiders 1.98.0-insider (4e6f06d, 2025-02-28T09:27:55.071Z)
OS version: Windows_NT x64 10.0.26100
Modes:

Metadata

Metadata

Assignees

Labels

chat-terminalThe run in terminal tool in chatfeature-requestRequest for new features or functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions