Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Akashsahani47 opened this issue Dec 17, 2024 · 2 comments
Open

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

Akashsahani47 opened this issue Dec 17, 2024 · 2 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team

Comments

@Akashsahani47
Copy link

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.

@meganrogge
Copy link

Sounds like you're using the python extension perhaps?

@meganrogge meganrogge added the info-needed Issue requires more information from poster label Dec 17, 2024
@karthiknadig
Copy link
Member

@Akashsahani47 Do you have this setting enabled:
Image

@karthiknadig karthiknadig removed the info-needed Issue requires more information from poster label Dec 17, 2024
@karthiknadig karthiknadig removed their assignment Dec 17, 2024
@karthiknadig karthiknadig transferred this issue from microsoft/vscode Dec 17, 2024
@karthiknadig karthiknadig self-assigned this Dec 17, 2024
@karthiknadig karthiknadig added the info-needed Issue requires more information from poster label Dec 17, 2024
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Dec 17, 2024
@karthiknadig karthiknadig added the bug Issue identified by VS Code Team member as probable bug label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug info-needed Issue requires more information from poster triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

3 participants