Skip to content

Automatically focus on terminal after "Run" button execution #24631

@Akashsahani47

Description

@Akashsahani47

When clicking on the "Run" button (to execute code), the terminal opens and displays the output, but the cursor remains in the editor. This forces the user to manually switch to the terminal to type input or commands.

Expected Behavior:
After clicking the "Run" button to execute code:

1 The code runs in the terminal.
2 The cursor automatically moves to the terminal, allowing immediate interaction.

Current Behavior:
The cursor remains in the editor after code execution, requiring a manual click to focus on the terminal.

Why is this Useful?
Enhances user experience and reduces manual effort.
Saves time for developers who frequently run code and interact with the terminal.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from postertriage-neededNeeds assignment to the proper sub-team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions