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 DenisVS for How to switch the cursor between terminal and code in VSCode?

$
0
0

Very convenient way to switch between editor and terminal with maximize the window by the default shortcut Ctrl+`

  {    // disable default rule"key": "ctrl+`","command": "-workbench.action.terminal.toggleTerminal",  },  {    // If active, maximize the terminal. If maximized, toggle and focus to the editor."key": "ctrl+`","command": "runCommands","args": {"commands": ["workbench.action.toggleMaximizedPanel",        //"workbench.action.focusActiveEditorGroup",      ]    },"when": "terminalIsOpen && terminalFocus && !toggleMaximizedPanel"  },  {    // Open the terminal"key": "ctrl+`","command": "workbench.action.terminal.toggleTerminal","when": "!terminalIsOpen"  },  {    // Hide the terminal, if editor is active"key": "ctrl+`","command": "workbench.action.togglePanel","when": "terminalIsOpen && !terminalFocus"  },

Viewing all articles
Browse latest Browse all 17

Trending Articles