Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple windows in Visual Studio

I've just come to Visual Studio 2008 from a UNIX / Java background.

In Visual Studio, how can I have multiple overlapping editor windows? In Eclipse, I can open a new Window, add an editor to each of them, then Alt-Tab between them, overlap them, select them in the Taskbar, etc. Similarly, I'd like to put 'Output' in it's own 'first class' window so I can easily Alt-Tab between that and an editor when on a laptop.

Studio tools lets me 'tear off' and editor window, but the 'torn off' window doesn't respect Alt-Tab rules, and always hides the main Visual Studio pane.

Update: By way of example, In 'Word' I can have two documents open. I can Alt-Tab between them. I can Alt-Tab between either document, or Alt-Tab from either one to Outlook if I wish. I can overlap the documents, or place them side-by-side. I can place one document on one monitor, and one document on the other. I can have have Outlook open on one screen, overlapping one of the Word documents, while I edit the other. This is the kind of thing I would like to do with my source files!

like image 447
Crosbie Avatar asked Apr 09 '11 13:04

Crosbie


People also ask

How do I add another window in Visual Studio?

On Windows and Linux, press CTRL + K , then release the keys and press O (the letter O, not Zero). On macOS, press CMD + K , then O (without holding CMD ). This will open the active file tab in a new window/instance.

Can you have multiple solutions open in Visual Studio?

Setting multiple startup projects in Visual Studio is easy… 1 – Right click the solution and select 'Set Startup Projects…'. 2 – Select 'Multiple startup projects' and choose two or more projects. 3 – Press run and Visual Studio will open them in your selected browser.

How do I close multiple windows in Visual Studio?

Therefore, if you want to quickly get rid of a number of items in your tab well, just keep pressing Ctrl+F4 and eventually they'll be gone. If you want to close all but one open file, simply right-click on the tab and select Close All But This.


2 Answers

You can change the window layout in the Tools menu under Options. The very first item is Environment\General. You can choose Multiple Documents (versus Tabbed Documents). That may give you the "look" you are describing.

However, I don't think it is possible to use alt+tab to change windows since those windows still belong to the single instance of VS2008. You can change windows with ctrl+F6. In addition, a nice trick when using Tabbed Documents is to press ctrl+alt+down arrow. That brings up a list of all open editor windows.

like image 79
Mark Wilkins Avatar answered Oct 13 '22 11:10

Mark Wilkins


Alt+Tab is for switching between applications on Windows.

To switch between windows within Visual Studio use Ctrl+Tab.

This should work on any mutli-windowed application.

like image 25
ChrisF Avatar answered Oct 13 '22 13:10

ChrisF