The Global context means that the shortcut is applicable in any tool window in Visual Studio. You can look up the shortcut for any command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard.
On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.
Ctrl+K for Removing Bookmarks Visual Studio contains a characteristic that enables users to add a bookmark. This bookmark can be added to a line of code in a solution.
Ctrl + - and the opposite Ctrl + Shift + -.
Move cursor back (or forwards) to the last place it was. No more scrolling back or PgUp/PgDown to find out where you were.
This switches open windows in Visual Studio:
Ctrl + tab and the opposite Ctrl + Shift + tab
For me, it's nothing to do about auto completing code, matching parenthesis or showing some fancy tool panel. Instead, it's just about letting me see the code.
With all the panels surrounding you, the area you use to actually write code becomes too small.
In this cases, Shift+Alt+Enter comes in to the rescue and gets the code window in focus in full screen mode. Hit it again, and you have all the panels back.
Incremental Search - Ctrl + I
It's basically the find dialog box without the dialog box. Just start typing what you want to search for (look at the bottom status bar location to see what you've typed). Pressing Ctrl + I again or F3 searches for the next instance. Press Escape to quit. Starting a new search by pressing Ctrl + I twice repeats the last search.
Expand Smart Tag (Resolve Menu): Ctrl + . (period)
Expands the tag that shows when you do things like rename an identifier.
Ctrl+K, Ctrl+C Comment a block
Ctrl+K, Ctrl+U Uncomment the block
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With