Reopen last closed tab in Visual Studio

前端 未结 8 851
[愿得一人]
[愿得一人] 2020-12-25 09:20

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

相关标签:
8条回答
  • 2020-12-25 09:38

    in VS 2010 "PowerCommands for Visual Studio 2010"

    http://visualstudiogallery.msdn.microsoft.com/e5f41ad9-4edc-4912-bca3-91147db95b99/

    Adds a command "Undo Close"

    0 讨论(0)
  • 2020-12-25 09:41

    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.

    0 讨论(0)
  • 2020-12-25 09:42

    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

    0 讨论(0)
  • 2020-12-25 09:45

    This is not exactly an equivalent, but it can be helpful, so I would mention it.

    There is a much simpler way actually, which is to navigate backward (Ctrl+-). Even if the file is closed, VS opens up the file in a new tab. Of course this is useful only in opening the closed tab immediately after you have closed the tab (ie, if you haven't navigated anywhere else much).

    0 讨论(0)
  • 2020-12-25 09:46

    Also consider Alt+F, F or Alt+F, Alt+F.

    (push Alt and hold it, now while holding it press F and then one more time F).

    This will open the recent files menu, which you can then use the arrows to select one and open it by hitting Enter.

    0 讨论(0)
  • 2020-12-25 09:47

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

    0 讨论(0)
提交回复
热议问题