Is there a shortcut key to switch between split panes in visual studio/management studio?

13,907

Solution 1

In SSMS: right-click toolbars, customize. Under categories, select Window, then under Commands select "Next Split Pane". Drag to toolbar. Right-click and change name to "Next Split P&ane". You can now use alt-a to change split pane.

Solution 2

F6 is your friend.

Solution 3

I think you can assign this by going to Tools -> Options -> Keyboard and searching for SplitPane. You should be able to assign shortcut keys for the following values:

Window.NextSplitPane
Window.PreviousSplitPane

Solution 4

CTRL+F6 will cycle through your files and across panes.

Solution 5

On Microsoft SQL Server Management Studio (SSMS) 2012, I figured out that it is the combination of Ctrl+Shift+UpArrow(or DownArrow). :-)

Share:
13,907
David
Author by

David

Developer, mostly web

Updated on June 03, 2022

Comments

  • David
    David about 2 years

    When I have a file open in visual studio/sql server management studio and have it split in to two panes, I'd like to be able to switch between the panes without having to reach for the mouse. Does anyone know if a shortcut key exists for this?

  • shahkalpesh
    shahkalpesh about 15 years
    NextSplitPane will cycle among the splits, I think.
  • Fredrik Mörk
    Fredrik Mörk about 15 years
    To my surprise, in SQL Server Management Studio the behavior is somewhat different; F6 will jump between the query editor and the message window in the bottom. It will not jump between the panes in a split query window. In VS F6 will jump between source/design panes for a aspx or html file, as well as splits in code windows.
  • David
    David about 15 years
    Thanks for looking in to this further
  • IsmailS
    IsmailS almost 14 years
    Neither this nor F6 key is working for me in VS2008. I checked the Key board shortcut and F6 is correctly assigned to Window.NextSplitPane. Even clicking on the toolbar button as suggested above is not working. Any ideas?
  • Simon D
    Simon D almost 14 years
    Add another question, try a different keyboard shortcut, or try writing a macro. codeidol.com/csharp/visual-studio-2005/… may help.
  • Matt Arnold
    Matt Arnold over 5 years
    F6 is Build in Visual Studio with the default C# Development Settings.
  • Matt Arnold
    Matt Arnold over 5 years
    Ctrl + W, Ctrl + Tab and Ctrl + W, Ctrl + Shift + Tab proved intuitive for next and previous window split for me as Ctrl + Tab and Ctrl + Shift + Tab are for next and previous open document.
  • ruffin
    ruffin about 5 years
    Which is Window.NextDocumentWindow in Visual Studio's Tools >>> Options >>> Keyboard pane if you want to reassign (or, in my case, assign Ctrl-F6 back).