Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 618
Ravi Teja Gadi Avatar asked Jan 22 '20 06:01

Ravi Teja Gadi


People also ask

How do I hide and show terminal in Visual Studio code?

Open Preferences: Open Keyboard Shortcuts (JSON) from the command palette, and add this: { "key": "cmd+t", "command": "macros. showTerminal", "when": "!

Can you pop out terminal in VS Code?

Launch the VS code app then press “Ctrl+`” to open a terminal. Press “Command” or “Ctrl” + “Shift” + “p” to access the “Command Palette.” A search bar will pop-up, enter a search for “View: Toggle Integrated Terminal command,” and select it. This command toggles between displaying the terminal panel in and out of view.

What is the shortcut to open terminal in VS Code?

One way of opening your terminal is hitting the command button and the spacebar at the same time. This opens spotlight search. From here, you can type "terminal". Once your terminal is open, you can open VS Code from it by typing $ code .

How do I hide code in Visual Studio?

The #Region directive enables you to collapse and hide sections of code in Visual Basic files. The #Region directive lets you specify a block of code that you can expand or collapse when using the Visual Studio code editor. The ability to hide code selectively makes your files more manageable and easier to read.


3 Answers

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.

like image 121
HaaLeo Avatar answered Oct 21 '22 02:10

HaaLeo


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

like image 34
userx Avatar answered Oct 21 '22 04:10

userx


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

like image 24
Heisenberg Avatar answered Oct 21 '22 04:10

Heisenberg