Split Your Windows

Tips Search

Split Your Windows

  • Comments 13

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 
  • 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?

  • Is it also possible to split vertically?

  • @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

  • @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

  • How to split the same file vertically:

    Window->New Window

    Window->New Vertical Tab Group

    Stefan

  • Thanks a lot people!

    Desparately needed this.

    Made my life a lot easier.

  • Useless.

    Well, mostly useless.

    If your monitor was higher than it was wide, perhaps people would use it.

    But, this sort of feature has been in editors for years.

    The thing that would make most sense - especially with current day widescreen monitors - is to have a vertical splitter available for all your coding windows.

    Yes... we don't.

    Please implement this, hack it in, make a plugin, ANYTHING. It's just silly that it's not available while a horizontal splitter IS.... !

  • @TS: Stefan Decuypere explained how to split your windows vertically...

  • 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...

  • 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.

  • How to split vertically in VB code too

    msmvps.com/.../visual-studio-window-new-window.aspx

  • @Ken - Reset your IDE settings in the Import and Export settings window and do NOT choose VB.  Choose General or C# and you will see the disabled New Window.

  • 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?

Page 1 of 1 (13 items)
Leave a Comment
  • Please add 4 and 1 and type the answer here:
  • Post