Quantcast
Channel: How to switch the cursor between terminal and code in VSCode? - Super User
Viewing all articles
Browse latest Browse all 17

Answer by LololoTheGreat for How to switch the cursor between terminal and code in VSCode?

$
0
0

In case that somebody wants to switch between the editor window above and the panel below, regardless of whether the Terminal, the Debug Console, the Output window or the Problem window is opened right now, you can use this code:

{ "key": "ctrl+.", "command": "workbench.action.focusPanel"},{ "key": "ctrl+.", "command": "workbench.action.focusActiveEditorGroup", "when": "panelFocus"}

It took me a bit of trying out until I found that strangely it is focusPanel in the command, but panelFocus in the when-condition.

Note that in my example, I am using "ctrl+.", not "ctrl.+`".


Viewing all articles
Browse latest Browse all 17

Trending Articles