Visual Studio Windows Shortcuts

45 shortcuts · View all OS →

WindowsCompare all
Visual Studio Windows keyboard shortcuts
ActionWindows Shortcut
File & Project
New fileCtrlN
New projectCtrlShiftN
Open fileCtrlO
SaveCtrlS
Save allCtrlShiftS
Close documentCtrlF4
PrintCtrlP
Editing
UndoCtrlZ
RedoCtrlY
CutCtrlX
CopyCtrlC
PasteCtrlV
Select allCtrlA
Duplicate selection or lineCtrlD
Delete lineCtrlShiftL
Comment selectionCtrlK,CtrlC
Uncomment selectionCtrlK,CtrlU
Format documentCtrlK,CtrlD
List members (IntelliSense)CtrlJ
Complete wordCtrlSpace
Quick actions / refactorCtrl.
RenameCtrlR,CtrlR
Navigation
Go to definitionF12
Peek definitionAltF12
Find all referencesShiftF12
Go to allCtrlT
Go to lineCtrlG
Navigate backwardCtrl-
Navigate forwardCtrlShift-
Solution ExplorerCtrlAltL
Search & Replace
FindCtrlF
ReplaceCtrlH
Find in filesCtrlShiftF
Replace in filesCtrlShiftH
Find nextF3
Find previousShiftF3
Build & Debug
Build solutionCtrlShiftB
Start debuggingF5
Start without debuggingCtrlF5
Stop debuggingShiftF5
Toggle breakpointF9
Step overF10
Step intoF11
Step outShiftF11
Run to cursorCtrlF10