change terminal in vs code code example

Example 1: vscode switch between terminal and editor

// Toggle between terminal and editor focus
{ "key": "ctrl+`", "command": "workbench.action.terminal.focus"},
{ "key": "ctrl+`", "command": "workbench.action.focusActiveEditorGroup", "when": "terminalFocus"}

Example 2: vscode select terminal

# to select new default shell for the terminal in vs code:
- press F1 in VS Code
- typing/selecting Terminal: Select Default Shell

Example 3: vs code switch terminal windows

alt + up/down left/right arrows

Tags:

C Example