Toggle Terminal in VS Code (macOS)
Press Control + 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
| Platform | Shortcut |
|---|---|
| macOSthis page | Control + Backtick |
| Windows | |
| Linux |
More VS Code shortcuts: General
- Delete Line
- Move Line Up
- Move Line Down
- Copy Line Up
- Copy Line Down
All 71 VS Code shortcuts for macOSThe full list has a search and a printable PDF.
Questions
What is the VS Code shortcut for Toggle Terminal on macOS?
⌃` (Control + Backtick). Press it to show or hide the terminal inside the editor.
What is the shortcut for Toggle Terminal in VS Code on Windows and Linux?
On Windows it is Ctrl+`. On Linux it is Ctrl+`.