vscode icon indicating copy to clipboard operation
vscode copied to clipboard

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

Open iwangbowen opened this issue 10 months ago • 0 comments

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 (4e6f06d1c7ad67cb14a654cee571518f8ead0ef2, 2025-02-28T09:27:55.071Z) OS version: Windows_NT x64 10.0.26100 Modes:

iwangbowen avatar Feb 28 '25 14:02 iwangbowen