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
Using F8 causes the code editor to lose cursor/selection focus so F8 cannot be used again to run the same code #3887
Comments
I believe this is by design: it moves the focus to the terminal because it's executed code in the terminal (which may require user input). So I think is more of a feature request to add the ability to configure if the focus should change or not. In fact, if the integrated console is not the current terminal, it looks like we already have some logic to respect VS Code's own setting vscode-powershell/src/features/Console.ts Lines 204 to 245 in db40d97
|
thanks @ALIENQuake does the setting |
@SydneyhSmith Yep, I had this setting turned on and I forgot it even existed. Sorry! |
Prerequisites
Summary
Hi,
Using F8 causes the code editor to lose cursor/selection focus so F8 cannot be used again to run the same code.
PowerShell Version
Visual Studio Code Version
Extension Version
ms-vscode.powershell-preview@2022.3.0
Steps to Reproduce
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: