What's the shortcut to hide the integrated terminal in visual studio code

Visual Studio-Code

Visual Studio-Code Problem Overview


In order to open the integrated terminal there is a shortcut ctrl + `. Is there any shortcut to hide the terminal?

Visual Studio-Code Solutions


Solution 1 - Visual Studio-Code

Using VS Code 1.41.1 on windows, Ctrl/Cmd + J toggles the panel view.

You can look up the default keybinding for your OS by opening the Keyboard Shortcuts view and searching for the workbench.action.togglePanel command. In case it is not asigned yet to a default shortcut or you prefer another one, you can adjust the keybinding in this view as well.

Solution 2 - Visual Studio-Code

You can use same ctrl + ` to toggle appearance of terminal. If you want to keep both open and jump around, use below

ctrl + ` to jump in terminal

ctrl + 1 to jump back in editor

Solution 3 - Visual Studio-Code

For OS X, the command is to show/hide the terminal is COMMAND + J

Solution 4 - Visual Studio-Code

On macOS Command + J Hide Panel

Environment
Visual Studio Code Version: 1.63.2 
macOS Monterey Version 12.1 x86_64 

Solution 5 - Visual Studio-Code

In keybindings.json, copy following JSON lines:

  {
    "key": "ctrl+'",
    "command": "workbench.action.terminal.toggleTerminal",
    "when": "!terminalFocus"
  },
  {
    "key": "ctrl+'",
    "command": "workbench.action.terminal.toggleTerminal",
    "when": "terminalFocus"
  },

you can change ctrl+' by what shortcut you like.

Solution 6 - Visual Studio-Code

For MacOS users the keyboard shortcut is:

Ctrl + Shift + ´

(VS Code v.1.47.3)

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRavi Teja GadiView Question on Stackoverflow
Solution 1 - Visual Studio-CodeHaaLeoView Answer on Stackoverflow
Solution 2 - Visual Studio-CodeuserxView Answer on Stackoverflow
Solution 3 - Visual Studio-CodeArefeView Answer on Stackoverflow
Solution 4 - Visual Studio-CodeAx_View Answer on Stackoverflow
Solution 5 - Visual Studio-Codezi yuanView Answer on Stackoverflow
Solution 6 - Visual Studio-CodetifView Answer on Stackoverflow