Visual Studio shortcuts

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:45

Navigation

CTRL+F6navigate between various panes that appear in the base code editing window.
SHIFT+ALT+Enterfull-screen mode at any time. In full-screen mode, only the active window is visible in full screen.
ALT+F6/ALT +SHIFT+F6move cursor away from the main editing section into docked windows like Properties, Help, Dynamic help, Server Explorer (if these windows are open).
F7Jump to Code Behind/Base Code editing window

Editing

CTRL+SHIFT+Vcycle through the clipboard ring.
CTRL+- similar with Internet Explorer, very easy to navigate from page to page.
CTRL+SHIFT+-cycles in the opposite direction.
CTRL+] matching brace/comment/region/quote
F4Property Window
CTRL+ALT+LSolution Explorer
CTRL+ALT+OOutput Window
CTRL+ALT+KTask List
CTRL+SHIFT+SpaceIntellisense window.
CTRL+RWord Wrap

 

Block Selectionpress ALT and then select the area you want with your mouse.
Line No in CodeTools>Options>Text Editor>All Languages>General>Line numbers.

BookMark

CTRL+K, CTRL+KCreate/Remove Bookmark
CTRL+K, CTRL+NMove to next bookmark
CTRL+K, CTRL+PMove to previous bookmark
CTRL+K, CTRL+LClear all bookmarks

Code Format

CTRL+K, CTRL+FAuto-format selection
CTRL+UConvert to lower case
CTRL+SHIFT+UConvert to upper case
CTRL+K, CTRL+CComment selection
CTRL+K, CTRL+UUncomment selection

Code Outline

CTRL+M, CTRL+MFold/Unfold the current code block
CTRL+M, CTRL+LUnfold all
CTRL+M, CTRL+PStop outlining
CTRL+M, CTRL+OFold all

Running/Debugging

F5 Start Application in debug Mode
CTRL+F5Start Without debugging
F11Step into
F10Step over.
SHIFT + F11Step Out.
SHIFT + F5Stop debugging.
CTRL+SHIFT+F5Restart Debugging.