Reopen last closed tab in Visual Studio

Viewed 55075

Is there any way to reopen the last closed tab in Visual Studio? Similar to Ctrl+Shift+t in FireFox and Chrome?

9 Answers

If you're using VS 2008, PowerCommands offers a "Undo Close" pane, featuring your recently closed documents, or like David said, check the File menu. PowerCommands doesn't limit the number of files it shows, though.

I don't know of way to open the last closed tab, but you can open your most recent file through your File Menu and the top one should be your most recently closed tab.

You can actually do this (at least in Visual Studio 2019) by pressing Ctrl+T,R which opens a little window which shows the last opened windows.

Source

As NotAPro pointed out, the combination I mentioned seems to have changed to Ctrl+1,Ctrl+R

In Visual Studio Code 2020 you can use Shift+Ctrl+T, which is associated with Reopen Closed Editor. This should do what you're expecting.

Once you use VS 2022 V.17.3 it is pretty simple:

CTRL+K, CTRL+Z

enter image description here

Related