Freigeben über


Split Your Windows

Menu:  Window -> Split
Command:  Windows.Split
Versions:  2008,2010
Published:  3/5/2010
Code:  vstipEnv0004

 

Did you know you can split your windows?  This feature has been available in a lot of Microsoft products for some time.  You can simply go to Window -> Split on the Menu Bar or you can use this mouse technique:

 

  1. Go the upper right-hand corner of a document window and look for the splitter control:
    image
  2. Click and hold on it and drag it down to begin the split process:
    image
  3. You can now see different places in your code to, for example, call a method while looking at the definition:
    image

Comments

  • Anonymous
    March 04, 2010
    I use this feature from time to time and like it. But what I never found out: How to switch the input focus between the two windows without using the mouse?

  • Anonymous
    March 04, 2010
    Is it also possible to split vertically?

  • Anonymous
    March 04, 2010
    @Christian -- check out tomorrow's tip :) @Luciano -- Not that I am aware of.  You can split multiple document windows vertically but not a single window. Z

  • Anonymous
    March 04, 2010
    @Christian -- check out tomorrow's tip :) @Luciano -- Not that I am aware of.  You can split multiple document windows vertically (Window -> New Vertical Tab Group) but not a single window. Z

  • Anonymous
    March 08, 2010
    How to split the same file vertically: Window->New Window Window->New Vertical Tab Group Stefan

  • Anonymous
    July 12, 2010
    Thanks a lot people! Desparately needed this. Made my life a lot easier.

  • Anonymous
    November 15, 2010
    The comment has been removed

  • Anonymous
    November 23, 2010
    @TS: Stefan Decuypere explained how to split your windows vertically...

  • Anonymous
    December 27, 2010
    I see VS allows vertical split for code files(.cs or .vb)..and you can split single code file vertically , however i am not able to split html (aspx) file vertically...

  • Anonymous
    February 22, 2011
    I would love to use the rumored Window->New Window function, but it is apparently only a dream.  I'm using VS 2010 and there is no "New Window" option under the "Window" menu option.

  • Anonymous
    June 14, 2011
    How to split vertically in VB code too msmvps.com/.../visual-studio-window-new-window.aspx

  • Anonymous
    July 19, 2011
    The comment has been removed

  • Anonymous
    September 26, 2011
    Is it just me, or right-clicking on a symbol in any split-view and choosing 'Go to Definiton/Declaration' always uses the bottom split-view to display the result? This is rather annoying.. IMHO it should always use the split in which you performed the search. Also, why can you only split once?