Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2010: How do I get "next tab", "prev tab" keyboard shortcut working? [duplicate]

How do I get "next tab", "prev tab" keyboard shortcuts to work in Visual Studios 2010?

(For a more precise description of the functionality I need please see the firefox/chrome/etc and how they do their "ctrl-pgdn" and "ctrl-pgup" keyboard shortcuts).

This should be extrememly easy... and yet I can't seem to figure it out.


NOTE:

I do know that there is a "ctrl-tab" that is similar... but it only scrolls through the "most recently used list" which is different. I don't care about "the most recently used list". I just want to go to the right/left tab.

like image 966
Trevor Boyd Smith Avatar asked Sep 23 '10 17:09

Trevor Boyd Smith


People also ask

How do I move to the next tab in Visual Studio?

When using Visual Studio Code on Windows, you can use CTRL + PAGE_UP to switch to the previous tab, and CTRL + PAGE_DN to switch to the next tab. You also have the ability to switch to tabs based on their (non-zero relative) index. You can do so, by pressing and holding ALT , followed by a number (1 through 9).

Is there a shortcut for next tab?

To jump to the next tab (on the right) press Ctrl + Tab or Ctrl + PgDn on your keyboard. This shortcut works perfectly on Windows devices and other operating systems (e.g Chrome OS on Chromebooks and Linux) with a familiar keyboard layout.

What is the shortcut key for duplicate?

CTRL+D to Duplicate.


2 Answers

You should map the Window.NextDocumentWellTab and not View.NextTab and remove it from any other functions its 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.

like image 66
Pablo Avatar answered Sep 20 '22 01:09

Pablo


Under Visual Studio 2010 Professional, this keyboard shortcut goes by the name Window.PreviousDocumentWindow and Window.NextDocumentWindow.

Important Note: By default, Ctrl-PgUp and Ctrl-PgDown are assigned to Edit.ViewTop and Edit.ViewBottom respectively, so make sure to remove the existing keyboard assignment before trying out your new assignment. If you don't, the keyboard commands you enter will continue to be interpreted as the most "specific" shortcut (Edit.ViewTop or Edit.ViewBottom) since you're most likely trying this out in the Edit view!

like image 45
aardvarkk Avatar answered Sep 17 '22 01:09

aardvarkk