Reputation: 69
As per this old question: Re-open closed tab (undo close) in Visual Studio 2013? I want to open closed tabs just like in a browser. I used power tools plugin for 2017 to get it working but does not seem to work in 2019. Surprised VS still don't have this feature native. Any other work around for it?
Upvotes: 2
Views: 4388
Reputation: 63
There is a built in shortcut CTL + 1, R that will open all recent files. However I prefear to change it to CTL + T. You can do that by opening settings -> keyboard -> Edit.GoToRecentFile.
Upvotes: 1
Reputation: 259
It is, in a way, possible to do it without extensions … by using the "go to" functionality:
You press CTRL + T, put r in the box that comes up and it'll show you a list of "recent files". It seems closing or opening a file puts that file at the top of the list.
Source: https://www.meziantou.net/visual-studio-tips-and-tricks-open-recently-closed-files.htm.
Documentation on some more fancy stuff you can do on the "go to" function: https://learn.microsoft.com/en-us/visualstudio/ide/go-to?view=vs-2019
Upvotes: 0
Reputation: 27940
Visual Studio Document Reopen extension reopens the last closed documents with (CTRL + SHIFT + T).
Upvotes: 6
Reputation: 27940
Power Commands extension supports Visual Studio 2019:
Reopens a closed document, returning the cursor to its last position. Recently closed documents can be reopened through the Edit menu and clicking Undo Close or by using the Ctrl + Shift + Z shortcut.
Upvotes: 1