Wednesday, 4 October 2017

VSCode - Keep focus on editor

In VSCode, you’ll find that when you run your script using F8 or F5, your focus will shift to the terminal which may not be what you want especially as ISE doesn’t change the focus.

To change this behaviour, just click on the settings icon and go to settings:

image

Then add the below line into the user settings window on the right:

"powershell.integratedConsole.focusConsoleOnExecute": false

It should now look like this:

image

Close User Settings and save your changes and there you go.

No comments:

Post a Comment