Assign a shortcut for "Next tab" in Visual Studio

In Visual Studio 2010, the menu Tools > Options > Environment > Keyboard: Show Commands Containing: type NextDocumentWindow, lets you find and select the Window.NextDocumentWindow in the list. It shows that the shortcut is Ctrl+F6. This shortcut lets you cycle through currently open documents. Ctrl+Shift+F6 navigates in reverse order.

Edit: I tried also Ctrl+Alt+PgDown and Ctrl+Alt+PgUp shortcuts do about the same thing.

Hope that helps.


From VS 2010: How do I get “next tab”, “prev tab” keyboard shortcut working? :

You should map the Window.NextDocumentWellTab and not View.NextTab and remove it from any other functions it's assigned to. Only mapping it will not work, you also need to unmap from anything else its being used on, apparently.

This is what my keyboard configuration looks like: Keyboard options

Looked into this some more, and it turns you need to install the Productivity Tools. That gives you that NextDocumentWellTab function.


In Visual Studio 2019, the command name for next tab and previous tab is Window.NextTab and Window.PreviousTab respectively.