By default, VS Code opens the terminal in a panel at the bottom of the screen. Do you find it a bit cramped?

Did you know you can open the terminal as a tab in the Editor Area — just like your code files — giving you much more space to work with?

Let me show you how to do it, and also how to set up a handy keyboard shortcut!

Open a New Terminal as an Editor Tab:

  • Open the Command Palette by pressing Ctrl + Shift + P, then search for:
Terminal: Create New Terminal in Editor Area
  • Select it, and your terminal will now open as a tab in the Editor Area!

Set Up a Keyboard Shortcut:

Running through the Command Palette every time is a bit tedious. Let’s set up a keyboard shortcut instead.

  • In the Command Palette result for “Terminal: Create New Terminal in Editor Area”, click the gear icon ⚙️ on the right.
  • Click the + (Add Keybinding) button next to the command.
  • A prompt will appear asking you to press your desired key combination. In this example, I gave Ctrl + Shift + N + T as my short cut denotes ‘new tab’
  • Hit Enter. Your shortcut is now saved!
  • I went ahead pressed Ctrl + Shift + N + T and a new terminal opened in the editor area. You can open multiple terminals by pressing Ctrl + Shift + N + T more than once.

🙂

Advertisements
Advertisements

Leave a comment