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

Focus on code window while/after run #32

Closed
eisisig opened this issue Nov 17, 2016 · 5 comments
Closed

Focus on code window while/after run #32

eisisig opened this issue Nov 17, 2016 · 5 comments
Labels

Comments

@eisisig
Copy link

eisisig commented Nov 17, 2016

Any way to keep the focus in the code window when running? Adding option to this plugin or is there any known way already?

I have it open in CS Code terminal in window and after run the cursor is in the terminal so I have to manually click the code again, and then, and then...

👍 this plugin!

@eisisig
Copy link
Author

eisisig commented Nov 17, 2016

Actually found a solution that works for me. I use https://github.com/callumlocke/esbox as a executorMap.javascript runner. That starts esbox with my code and watches it

@formulahendry
Copy link
Owner

Thanks for reporting the issue. I will fix it.

@formulahendry
Copy link
Owner

@eisisig , this issue has been fixed. Please try the latest version.

@eisisig
Copy link
Author

eisisig commented Jan 3, 2017

@formulahendry Thank you for this fix! Much appreciated

@ralfuslongus
Copy link

preserveFocus** does not work (for me) any more:
I am using code-runner with crystal-lang and i try to keep the focus on the editor while using the terminal for coloured output. The "preserveFocus" only works on the default output window of vscode, which unfortunately does not support coloured output of the program.
vscode version : 1.50.1
code-runner version: 0.11.1
code-runner settings:
"code-runner.clearPreviousOutput": true,
"code-runner.ignoreSelection": true,
"code-runner.saveAllFilesBeforeRun": true,
"code-runner.saveFileBeforeRun": true,
"code-runner.preserveFocus": true,
"code-runner.runInTerminal": true

@a-dom88 a-dom88 mentioned this issue May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants