Skip to main content

Toggle Terminal in VS Code (Linux)

Press Ctrl + Backtick to show or hide the terminal inside the editor.

What it does

The integrated terminal opens in a panel under the code and starts in the folder of the workspace. The same keys hide the panel again and move the cursor back to the editor. Hiding does not stop what runs in the terminal: a server or a test watcher keeps running and is there when you show the panel again.

The same shortcut on other platforms

PlatformShortcut
Linuxthis pageCtrl + Backtick
macOS
Windows

More VS Code shortcuts: General

All 29 VS Code shortcuts for LinuxThe full list has a search and a printable PDF.

Questions

What is the VS Code shortcut for Toggle Terminal on Linux?

Ctrl+` (Ctrl + Backtick). Press it to show or hide the terminal inside the editor.

What is the shortcut for Toggle Terminal in VS Code on macOS and Windows?

On macOS it is ⌃`. On Windows it is Ctrl+`.