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.+`".