Visual Studio How to Close Window and Reopen Again

eight Answers 8

Help us ameliorate our answers.

Are the answers below sorted in a way that puts the best answer at or about the acme?

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

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

answered Feb seven, 2014 at eight:44

user avatar

iv

  • This really but works though if yous were working in that file immediately before closing it.

    Mar 21, 2018 at sixteen:32

  • This even works if you accept closed all the tabs. Merely need to "Continue Open / Pin" each tab else information technology volition keep replacing the tab.

    May 22, 2019 at vi:47

  • The Standard toolbar - under the Navigate backward arrow icon - shows the list of files that Ctrl+- loops over. It lists open files even if yous did not edit them. At least in VS2017.

    April 13, 2020 at 14:59

  • @pasx, you need not edit but y'all accept to navigate to the file (i.e. open the file) for ctrl - to piece of work. Imagine you closed a background tab that yous didn't navigate to. You tin can't ctrl- to that file. Hope VS addresses this at some bespeak.

    Apr 13, 2020 at xv:19

Too consider Alt+F, Alt+F .

(button Alt and hold it, now while holding it press F and so i more fourth dimension F).

This will open the Contempo Files menu. There, yous you employ the arrow keys to select a file and open up it by hit Enter, or but use your mouse.

enter image description here

answered Sep 24, 2014 at xviii:03

user avatar

v

  • To analyze, this is the File -> Recent Files card.

    November iv, 2014 at 1:06

  • simple and expert fashion just it fails when you closed 1st file if 11 files or more than opened

    Oct 27, 2015 at 8:26

  • Simple and good enough for "classical" files just unable to reopen other tabs like source control explorer for instance.

    Aug fourteen, 2018 at 9:08

  • For anyone dislocated: You hit Alt+F, F. Yous exercise not press Alt again. You can release Alt after the start Alt+F or yous can still hold information technology down. Simply exercise not press it once again.

    Nov seven, 2018 at 16:02

  • yous are god @trident

    Aug 2, 2019 at 7:45

user avatar

answered May 12, 2009 at 14:30

user avatar

iii

  • 2022 this didn't work for me, merely SHIFT + CTRL + T worked

    Feb nine at 13:12

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

answered May 12, 2009 at 14:30

user avatar

2

  • Cheers for explaining how to access information technology through PowerCommands.

    Jan eight, 2015 at 21:12

  • the link is dead

    Aug 20, 2018 at 10:26

I don't know of mode to open the last closed tab, but you tin can open your most recent file through your File Card and the elevation one should be your near recently closed tab.

answered May 12, 2009 at 14:28

user avatar

3

  • Recent files list is populated with files opened out of a solution telescopic

    Mar 17, 2011 at ix:57

  • Recent files list does contain files opened out of a solution telescopic, along with well-nigh files opened with in the current solution. With the about recent file being listed at the acme.

    May 10, 2011 at 18:07

  • The ordering is not most recent closed, simply rather near recently opened, which is sadly not ideal.

    Jun 14, 2017 at 16:35

answered October 13, 2011 at 1:51

user avatar

You lot can actually practise this (at to the lowest degree in Visual Studio 2019) by pressing Ctrl+T,R which opens a fiddling window which shows the last opened windows.

Source

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

user avatar

answered December 10, 2019 at 12:45

user avatar

2

  • Same in Visual Studio 2017

    Aug 26, 2020 at 15:16

  • As of typing, this is Ctrl+1,Ctrl+R; not Ctrl+T,Ctrl+R

    Feb 15, 2021 at xiii:13

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

user avatar

Jeremy Caney

5,796 32 gold badges 42 silver badges 69 bronze badges

answered May seven, 2020 at 7:44

user avatar

ii

  • You are speaking of VS Code.

    Sep 6, 2020 at xiv:08

  • In VS Code the default is: { "key": "ctrl+shift+t", "command": "workbench.activity.reopenClosedEditor" } Ctrl+Shift+P "Open Default Keyboard Shortcuts (JSON)" Add together this value if it's not your default.

    Oct 24, 2020 at ii:33

Not the answer yous're looking for? Browse other questions tagged visual-studio or ask your own question.

lunaalivink.blogspot.com

Source: https://stackoverflow.com/questions/853038/reopen-last-closed-tab-in-visual-studio#:~:text=In%20Visual%20Studio%202020%20you,do%20what%20you're%20expecting.

0 Response to "Visual Studio How to Close Window and Reopen Again"

Enviar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel