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:


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

"powershell.integratedConsole.focusConsoleOnExecute": false

It should now look like this:


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

No comments:

Post a comment