formulahendry / formulahendry/vscode-code-runner

"code-runner.preserveFocus": Focus is preserved only for the first execution

Open
#663 2 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.48.1
- OS Version: 10 Home (10.0.19041 Build 19041)
- Code Runner Version: 0.11.0

**Describe the bug**
**The focus is preserved only for the first execution.** The focus is (rightly) preserved when executing `code-runner.run` on a new terminal. But when executing `code-runner.run` again, the focus is not preserved.

**To Reproduce**
1. Execute `code-runner.run`
2. Execute `code-runner.run` again

**Actual behavior**
Focus on the terminal

**Expected behavior**
Focus on the Editor Group

**Screenshots**
![code-runner-focus-problem](https://media.giphy.com/media/hubh1Syha6zK0u32IQ/giphy.gif)

Thank you!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.