views:

182

answers:

3

It there any way to show two editing windows in visual studio? I would like to look at two source files at the same time but I must be missing the option to do that.

A: 

Ah, New Vertical Tab Group does what I'm looking for.

stimms
Put your comment in your question, not in an answer.
Geoffrey Chetwood
+3  A: 

Another easy option is to open two documents, then just click and drag the tab for one of the documents and drop it on the document itself. This will display a menu that lets you move the document to a new vertical or horizontal tab group.

I find this to be the easiest and quickest way to do this.

You didn't ask in the question, but if you want to edit one document in two windows, you can grab the small area above the scrollbar and drag it down. You will now have your document open in two scrollable areas. Great for working on two sections at once.

Rob Prouse
+2  A: 

To create a keyboard shortcut for "Window->New Vertical Tab Group" you need to assign a shortcut to "Window.TileVertically" command.
Tools->Options->Envirnoment->Kyboard, in "Show commands containing" type "Window.TileVertically", and assign the keyboard shortuct in "Press shortcut keys" field.
Remember to click "Assign" before "OK".