Shortcut

Visual Studio Code Reopen Closed Editor Shortcut

The Visual Studio Code shortcut to reopen closed editor is Ctrl + Shift + T on Windows. On Mac, press Cmd + Shift + T.

Quick Answer

Windows
Ctrl+Shift+T
Mac
Cmd+Shift+T
Web
Not confirmed yet
Visual Studio CodeShortcut

Reopen Closed Editor

Windows
Ctrl+Shift+T

Reopens the most recently closed editor tab.

Learn More

How to reopen closed editor in Visual Studio Code

  1. Open Visual Studio Code and go to where you want to reopen closed editor.
  2. Press Ctrl + Shift + T on Windows or Cmd + Shift + T on Mac.

Visual Studio Code Reopen Closed Editor Shortcut for Windows

Press Ctrl + Shift + T.

Visual Studio Code Reopen Closed Editor Shortcut for Mac

Press Cmd + Shift + T.

Visual Studio Code Reopen Closed Editor Shortcut for Visual Studio Code Web

We haven't confirmed a Visual Studio Code Web shortcut for this yet.

Related Keyboard Shortcuts

Frequently asked questions

What is the Visual Studio Code reopen closed editor shortcut?

On Windows, press Ctrl + Shift + T. On a Mac, press Cmd + Shift + T.

Is there a Mac shortcut to reopen closed editor in Visual Studio Code?

Yes: Cmd + Shift + T.

Does it work in Visual Studio Code for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify