loading...

Hotkeys for Visual Studio 2019

ssmak profile image Steve Mak Updated on ・1 min read

Hotkeys

Hotkey Description
Alt+Up/Down Move code up/down
Ctrl(K,C)/Ctrl(K,U) Comment/Uncomment line of code
Alt+F12 Peek definition
Ctrl(K,F) Format line of code
Ctrl(K,D) Format document
Ctrl(R,G) Cleanup unused namespace
Ctrl+] Find closing brace
Alt+Shift+Enter Enter/Escape full screen mode
Ctrl(K,S) Select snippet
Ctrl(K,K) Add/Remove bookmark
Ctrl(K,N) Next bookmark
Ctrl(K,P) Previous bookmark
Ctrl(M,O) Collapse all code block
Ctrl+Shift+B Build project

Snippets

Hotkey Description
prop Snippet for Property
ctor Snippet for Constructor
override <> Trigger a list of parent's method

Discussion

pic
Editor guide