I am using Visual Studio 2015 and I'm trying to learn keyboard shortcuts. I cannot find a shortcut that changes focus to the menu bar. Does it exist? Similar to Ctrl + Alt + L to change to the solution explorer.
I am aware of Ctrl + Tab, but I want to be able to access the whole menu bar without having to reach for my mouse.
I just figured it out myself. It is Alt + first letter of the tab.
So to access the File tab. Alt + F
Or Project tab. Alt + P
Related
I used resharper and there has been a very useful thing .
'Ctrl + click' - goes to definition
'Ctrl + Alt + click' - goes to implementation
If there are more than one implementation the list of all implementations shows up and you can choose a necessary implementation
Is there a way to make it in the visual studio 2019.
PS: I know about visual studio Ctrl + F12 .But I'm interested particularly in ctrl + alt + click
If you are using ReSharper, then you can enable this in the Options -> Search And Navigation but I don't think VS offers this out of the box.
And if you are using JetBrains Rider, then you can go to File -> Settings, search for implementation and right click on Implementation(s) and select Add Mouse Shortcut and then do Ctrl Alt Click
Does Visual Studio 2013 support keyboard shortcuts for switching between windows? f.e. the text editor and "find results" window? I tried F6 but it does not work.
With help by Mark's comment, pressing Ctrl + Tab, then use arrow keys (right and left) to switch between tools and files.
Of course you can. Press Alt + F7 to move through Active tool windows. To return back to text editor use Ctrl + Tab.
Shortcut for "Find Result 1" in Visual Studio?
Hotkeys for Visual Studio 2010 - Alt + vn1
Hotkeys for Visual Studio 2015 - Alt + vnnEnter1
Hotkeys for Visual Studio 2017 - Alt + vnnnEnter1
If you don't feel like customizing your own shortcuts, or you use different environments where you can't always rely on your customization being present, you can always go the old school route of just navigating the menus via hotkeys.
For instance, in Visual Studio 2010, you can just type Alt + vn1.
Typing Alt + v opens up the "View" menu.
Typing n opens up the "Find Results" menu item in the View menu.
Typing 1 selects the "Find Results 1" menu item, thereby opening and setting focus to the "Find Results 1" window.
Likewise, Alt + vn2 opens up the "Find Results 2" window.
If you do this enough, it's like any other keyboard shortcut, and becomes second nature.
ProTip
You can discover the hotkey shortcut to any menu item you need by just hitting Alt, and looking at the letters that are underlined in the menus. This applies to pretty much any windows program you will ever use.
There's no predefined shortcut for that (at least in VS 2005) but just select Customize... from the Options menu, press the Keyboard... button and then create a suitable shortcut for View.FindResults1.
In Visual Studio Professional 2013 (not sure about the other version) the function key "F8" will take you to the next result in the Find Results window, and "Shift-F8" will take you in the reverse direction (i.e. find previous result).
You can assign keyboard shortcuts as you please through Tools > Customize > keyboard.
In the show commands containing textbox type View.FindResults1.
In the Press shortcut keys textbox type in the shortcuts you want to add and then press the Assign button.
Is there a keyboard shortcut to switch to Team Explorer? For example, to switch to Solution Explorer it's CTRL + ALT + L. But I cannot find one for Team Explorer.
Yes it is CTRL + \ , CTRL + M
In the future if you need to find out what the keyboard shortcut is for a given item, the easiest way is to do the following
Open Tools -> Options -> Environment -> Keyboard
Type in the component name to "Show Commands Containing"
Click on the appropriate command it it's shortcut, if present, will show in the shortcut menu.
After typing in "TeamExplorer" to 2010 Beta2, it show up only 4 commands, one of which is View.TeamExplorer.
I'm trying to get the clipboard ring working by pressing Ctrl + Shift + V, but this only opens a window showing what the clipboard contains. I would like the items to cycle through as I press V, not open in a window.
Ctrl + Shift + Insert works as expected, and they both seems to be mapped to Edit.CycleClipboardRing, so why don't they behave the same way?
I think this is a ReSharper shortcut that's in conflict with your Visual Studio shortcuts. See if you can find a ReSharper shortcut mapped to Ctrl + Shift + V, if you've got resharper installed