DEV Community

Steve Mak
Steve Mak

Posted on • Edited on

Hotkeys for Visual Studio 2019

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

Top comments (0)

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay