Skip to content

[ENHANCEMENT] Option to automatically show/focus terminal on command execution #12277

@YousefBZo

Description

@YousefBZo

Problem (one or two sentences)

Users currently lack real-time visibility when Roo Code executes terminal commands, forcing them to manually open the terminal to monitor progress. This creates a disconnect and makes it harder to spot errors or hanging processes immediately.

Context (who is affected and when)

This affects all developers who rely on Roo Code for running build scripts, tests, or migrations. It is especially noticeable for those transitioning from Copilot or Cursor, where this visual feedback is standard.

Desired behavior (conceptual, not technical)

Add a toggle in the settings that, when enabled, automatically opens or brings the terminal into focus as soon as Roo Code starts running a command. This ensures the user can see exactly what is happening in real-time without extra clicks.

Constraints / preferences (optional)

The feature should be optional via a setting toggle (off by default) to avoid interrupting users who prefer a clean workspace. It should respect the user's existing terminal layout.

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

Given the "Auto-show terminal" setting is enabledWhen Roo Code executes a terminal commandThen the VS Code terminal panel should automatically open or gain focusAnd provide real-time output of the executionBut should NOT steal keyboard focus from the editor unless configured otherwise.

Proposed approach (optional)

Implement a new configuration flag "roo-code.terminal.autoShowOnExecute". When a command is triggered via the extension's execution engine, call the VS Code API to ensure the terminal part is visible if the flag is true.

Trade-offs / risks (optional)

The main risk is "UI clutter" for users who prefer keeping the terminal hidden. This is mitigated by making the feature strictly opt-in via settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions