[ENHANCEMENT] Option to automatically show/focus terminal on command execution #12277
Description
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.
Activity
yousefbzaqout commentedon May 6, 2026
@roomote I approve the plan. Please go with option (a) and (c). I want the terminal to show when it's available, and the command output in the chat to auto-expand when in execa mode. This way I can always see what's happening. Thanks!
yousefbzaqout commentedon May 6, 2026
Awesome! Thank you for the update and for working on this. Looking forward to seeing the PR!