Skip to content
Develop in Visual Studio2019-07-31T09:02:23-07:00

Code like Scott

Scott shows you his coding set-up, including Live Unit Testing, customizing his cursor, and Diagnostic Tools. He also shows how Cloud Explorer works with the Azure Portal.

screenshot of Code like Scott video

Save time debugging

Leslie shows how you can save time debugging with the new Search feature for the autos, locals, and watch windows in Visual Studio 2019.

screenshot of save time debugging video

Saved Window layouts

Allison shows how saved window layouts can save you time when you’re writing code. No matter if you need different windows for debugging or working on different work items, she shows how saving layouts or different tool panels can speed up productivity in Visual Studio.

screenshot of Saved Window layouts video

Default keyboard shortcuts

Configure keyboard shortcuts: Tools >Options>Environment>Keyboard

Expand allCollapse all

Visual Studio SearchCtrl+Q
Go to AllCtrl+T or Ctrl+,
Go to Type / File / Member / SymbolCtrl+1+T/F/M/S
Navigate Backward / ForwardCtrl+-+Ctrl+-
Go to definition / Peek to definitionF12+Alt+F12
Go to ImplementationCtrl+F12
Go to Next ErrorCtrl++F12
Go to Next / Previous Result in ListF8/+F8
Quick Actions / Refactoring SuggestionsAlt + or Ctrl+.
Method infoCtrl+K,Ctrl+I
Comment / UncommentCtrl+K,Ctrl+C/Ctrl+K,Ctrl+U
Delete line (without copying)Ctrl++L
Paste from clipboard buffer ringCtrl++V
Move code Up / DownAlt+/
Format Document / SelectionCtrl+K,Ctrl+D/Ctrl+K,Ctrl+F
Surround with (…if/try/for each)Ctrl+K,Ctrl+S
RenameCtrl+R,Ctrl+R
Encapsulate fieldCtrl+R,Ctrl+E
Remove and sort usingsCtrl+R,Ctrl+G
Extract MethodCtrl+R,Ctrl+M
Debug / Run / StopF5/Ctrl+5/++5
Toggle breakpointF9
Step overF10
Step intoF11
Step out+F11
Debug all tests / Run all testsCtrl+R,Ctrl+A/Ctrl+R,A
Open Solution ExplorerCtrl+Alt+L
Open Output windowCtrl+Alt+O
Open Error listCtrl+\,E
Open Team ExplorerCtrl+\,Ctrl+M
Open BreakpointsCtrl+Alt+B
Next / Previous tool windowAlt+F6/+Alt+F6
Close current tool window+esc
Go to document to the left / rightCtrl+Alt+pgUp+PgDn
Open document: Most recent / Least recentCtrl+tab/Ctrl++tab
Keep preview window openCtrl+Alt+
Full screen (max window size / reduced menus)+Alt+

Tips & tricks

screenshot of light bulbs
screenshot of map code
screenshot of edit/go to recent file
screenshot of code mapScreenshot of error list

Extensions and integrations

Stay comfortable with our most popular productivity add-ons

Free, fully-featured IDE for students, open-source and individual
developers

Free download

Professional developer tools, services, and subscription benefits for small
teams

Free trial

End-to-end solution to meet demanding quality and scale needs of teams of all
sizes

Free trial

Feedback