Visual Studio Shortcuts

Reference listing: Visual Studio Shortcuts

Outlines

Shortcut Description
CTRL + m + o Collapse to definitions
Ctrl + m, Ctrl + a Collapse all outlining
Ctrl + m, Ctrl + s Collapse current region
CTRL + m + l Expand all
CTRL + m + p Expand all and disable outlining
CTRL + m + m Collapse/expand the current section
Shortcut Description
Ctrl+, # Goto symbol
Ctrl+, m Goto members
Ctrl+, f Goto files
Ctrl+, : Goto line
Ctrl+, t Goto types

Test Explorer 2017

Shortcut Description
Ctrl+r, t Run All Tests In Context
Ctrl+r, a Run All Tests
Ctrl+r, l Repeat Last Run
Ctrl+r, Ctrl+t Debug All Tests In Context
Ctrl+r, Ctrl+a Debug All Tests

Windows

Shortcut Description
Ctrl+, e View.ErrorList
Ctrl+, Ctrl+m TFS Team Explorer
Ctrl+K, Ctrl+w Bookmarks
Ctrl ` Resharper Bookmarks
Ctrl+Alt+b Breakpoints
Ctrl+Shift+e View Source Control Explorer (mine)
Ctrl+Alt+F4 Close all but pinned (mine)
Ctrl+Shift+p Pin tab (mine)

Code Generation

Shortcut Description
Shift+Alt+c Add Class

Miscellaneous

Shortcut Description
CTRL + , Fix
Ctrl + m + h Hide selection
CTRL + u Uppercase
CTRL + SHIFT + u Lowercase
Alt + Num* Debug.ShowNextStatement
Ctrl+Alt+k Collapse solution explorer (mine)
Alt-F7 Switch windows
Ctrl-Shift-l Delete line
Alt -F, R, F, S Find shelveset
Shift+Alt+Down Arrow Line Down Extend Column