May 15, 2025 - 15:02
Visual Studio Keyboard Shortcuts Image
Web Geliştirme

Visual Studio Keyboard Shortcuts

Comments

In Visual Studio, you can access various commands and windows by selecting the appropriate keyboard shortcut. Below is a complete list of general shortcut commands. You can refer to it whenever needed :)

Navigate: General Shortcuts

Commands Keyboard Shortcuts
Navigate Backward Shift+Alt+3
Navigate Forward Shift+Alt+4

Architecture: General Shortcuts

Commands Keyboard Shortcuts
New Diagram Ctrl+\, Ctrl+N

Azure: General Shortcuts

Commands Keyboard Shortcuts
Retry mobile service script operation Ctrl+Number *, Ctrl+R
Show mobile service script error details Ctrl+Number *, Ctrl+D

Build: General Shortcuts

Commands Keyboard Shortcuts
Build Selection Ctrl+B (Visual Studio 2019)
Build Solution Ctrl+Shift+B
Cancel Ctrl+Break
Compile Ctrl+F7
Run Code Analysis on Solution Alt+F11

Class View Context Menus: General Shortcuts

Commands Keyboard Shortcuts
Properties Alt+Enter

Debugging: General Shortcuts

Commands Keyboard Shortcuts
Apply Code Changes Alt+F10
Attach to Process Ctrl+Alt+P
Autos Ctrl+Alt+V, A
Break All Ctrl+Alt+Break
Breakpoints Ctrl+Alt+B
Call Stack Ctrl+Alt+C
Delete All Breakpoints Ctrl+Shift+F9
Launch Alt+F2
Disassembly Ctrl+Alt+D
DOM Explorer Ctrl+Alt+V, D
Enable Breakpoint Ctrl+F9
Exceptions Ctrl+Alt+E
Function Breakpoint Ctrl+K, B (Visual Studio 2019) Ctrl+B (Visual Studio 2017)
Go to Previous Search or IntelliTrace Event Ctrl+Shift+F11
Start Diagnostics Alt+F5
Immediate Ctrl+Alt+I
IntelliTrace Calls Ctrl+Alt+Y, T
IntelliTrace Events Ctrl+Alt+Y, F
JavaScript Console Ctrl+Alt+V, C
Locals Ctrl+Alt+V, L
Process Combo Box Ctrl+5
Stack Frame Combo Box Ctrl+7
Thread Combo Box Ctrl+6
Toggle Flagged State for Current Thread Ctrl+8
Toggle Flagged Threads Ctrl+9
Memory 1 Ctrl+Alt+M, 1
Memory 2 Ctrl+Alt+M, 2
Memory 3 Ctrl+Alt+M, 3
Memory 4 Ctrl+Alt+M, 4
Modules Ctrl+Alt+U
Parallel Stacks Ctrl+Shift+D, S
Parallel Watch 1 Ctrl+Shift+D, 1
Parallel Watch 2 Ctrl+Shift+D, 2
Parallel Watch 3 Ctrl+Shift+D, 3
Parallel Watch 4 Ctrl+Shift+D, 4
Processes Ctrl+Alt+Z
Quick Watch Shift+F9 or Ctrl+Alt+Q
Reattach to Process Shift+Alt+P
Refresh windowsapp Ctrl+Shift+R
Registers Ctrl+Alt+G
Restart Ctrl+Shift+F5
Run to Cursor Ctrl+F10
Set Next Statement Ctrl+Shift+F10
Show Call Stack on Code Map Ctrl+Shift+'
Show Next Statement Alt+Num *
Start F5
Start Windows Phone App Analysis Alt+F1
Start Without Debugging Ctrl+F5
Step Into F11
Step Into Current Process Ctrl+Alt+F11
Specific Step Shift+Alt+F11
Step Out Shift+F11
Skip Current Process Ctrl+Shift+Alt+F11
Step Over F10 (While debugging: Executes a single statement)
Step Over F10 (When not debugging: Starts debugging and stops at the first line of user code)
Step Over Current Process Ctrl+Alt+F10
Stop Debugging Shift+F5
Stop Performance Analysis Shift+Alt+F2
Tasks Ctrl+Shift+D, K
Threads Ctrl+Alt+H
Toggle Breakpoint F9
Toggle Disassembly Ctrl+F11
Watch 1 Ctrl+Alt+W, 1
Watch 2 Ctrl+Alt+W, 2
Watch 3 Ctrl+Alt+W, 3
Watch 4 Ctrl+Alt+W, 4

Debugger Context Menus: General Shortcuts

Commands Keyboard Shortcuts
Delete Alt+F9, D
Go to Disassembly Alt+F9, A
Go to Source Code Alt+F9, S

Diagnostics Hub: General Shortcuts

Command Keyboard Shortcut
Stop Collection Ctrl+Alt+F2

Edit: General Shortcuts

Commands Keyboard Shortcuts
Copy Ctrl+C or Ctrl+Ins
Cut Ctrl+X or Shift+Delete
Cycle Clipboard Ring Ctrl+Shift+V or Ctrl+Shift+Ins
Delete Delete
Duplicate Ctrl+D
Find Ctrl+F
Find All References Shift+F12
Find in Files Ctrl+Shift+F
Find Next F3
Find Next Selected Ctrl+F3
Find Previous Shift+F3
Find Previous Selected Ctrl+Shift+F3
Generate Method Ctrl+K, Ctrl+M
Go to Line Ctrl+G
Go to All Ctrl+ or Ctrl+T
Go to Declaration Ctrl+F12
Go to Definition F12
Go to Member Ctrl+1, Ctrl+M or Ctrl+1, M or Alt+\
Go to Next Location F8 (Next error in Error List or Output window)
Go to Previous Location Shift+F8 (Previous error in Error List or Output window)
Insert Snippet Ctrl+K, Ctrl+X
Move Control Down Ctrl+Down Arrow
Guide Move Control Down Down Arrow
Move Control Left Ctrl+Left Arrow
Guide Move Control Left Left Arrow
Move Control Right Ctrl+Right Arrow
Guide Move Control Right Right Arrow
Move Control Up Ctrl+Up Arrow
Guide Move Control Up Up Arrow
Next Bookmark Ctrl+K, Ctrl+N
Next Bookmark in Folder Ctrl+Shift+K, Ctrl+Shift+N
Open File Ctrl+Shift+G (Opens the filename under the cursor)
Paste Ctrl+V or Shift+Ins
Previous Bookmark Ctrl+K, Ctrl+P
Previous Bookmark in Folder Ctrl+Shift+K, Ctrl+Shift+P
Quick Find Symbol Shift+Alt+F12
Redo Ctrl+Y or Ctrl+Shift+Z or Shift+Alt+Undo Key
Refresh Remote References Ctrl+Shift+J
Replace Ctrl+H
Replace in Files Ctrl+Shift+H
Select All Ctrl+A
Select Next Control Tab
Select Previous Control Shift+Tab
Show Snaplines Enter
Resize Control Down Ctrl+Shift+Down Arrow
Guide Resize Control Down Shift+Down Arrow
Resize Control Left Ctrl+Shift+Left Arrow
Guide Resize Control Left Shift+Left Arrow
Resize Control Right Ctrl+Shift+Right Arrow
Guide Resize Control Right Shift+Right Arrow
Resize Control Up Ctrl+Shift+Up Arrow
Guide Resize Control Up Shift+Up Arrow
Stop Search Alt+F3, S
Surround With Ctrl+K, Ctrl+S (available only in Visual Studio 2019 and earlier)
Undo Ctrl+Z or Alt+Undo key

Editor Context Menus: General Shortcuts

Commands Keyboard Shortcuts
Breakpoint Conditions Alt+F9, C
Edit Breakpoint Labels Alt+F9, L
Insert Temporary Breakpoint Shift+Alt+F9, T
Show Item Ctrl+'
Execute Ctrl+Alt+F5
Go to View Ctrl+M, Ctrl+G
Toggle Header Code File Ctrl+K, Ctrl+O (letter 'O')
View Call Hierarchy Ctrl+K, Ctrl+T or Ctrl+K, T

File: General Shortcuts

Commands Keyboard Shortcuts
Exit Alt+F4
New File Ctrl+N
New Project Ctrl+Shift+N
New Website Shift+Alt+N
Open File Ctrl+O (letter 'O')
Open Project Ctrl+Shift+O (letter 'O')
Open Website Shift+Alt+O (letter 'O')
Print Ctrl+P
Save All Ctrl+Shift+S
Save Selected Items Ctrl+S
View in Browser Ctrl+Shift+W

Help: General Shortcuts

Commands Keyboard Shortcuts
Add or Remove Help Content Ctrl+Alt+F1
F1 Help F1
View Help Ctrl+F1
Contextual Help Shift+F1

Other Context Menus: General Shortcuts

Command Keyboard Shortcut
Add New Diagram Insert

Project: General Shortcuts

Commands Keyboard Shortcuts
Add Existing Item Shift+Alt+A
Add New Item Ctrl+Shift+A
Class Wizard Ctrl+Shift+X
Override Ctrl+Alt+Ins
Previous Changes Alt+; then Alt+C
Publish Selected Files Alt+; then Alt+P
Replace Selected Files from Server Alt+; then Alt+R

Project and Solution Context Menus: General Shortcuts

Commands Keyboard Shortcuts
Move Down Alt+Down Arrow
Move Up Alt+Up Arrow

Refactoring: General Shortcuts

Commands Keyboard Shortcuts
Encapsulate Field Ctrl+R, Ctrl+E
Extract Interface Ctrl+R, Ctrl+I
Extract Method Ctrl+R, Ctrl+M
Remove Parameters Ctrl+R, Ctrl+V
Rename Ctrl+R, Ctrl+R
Reorder Parameters Ctrl+R, Ctrl+O ('O' letter)

Solution Explorer: General Shortcuts

Commands Keyboard Shortcuts
Open File Filter Ctrl+[, O (letter 'O')
or
Ctrl+[, Ctrl+O (letter 'O')
Pending Changes Filter Ctrl+[, P
or
Ctrl+[, Ctrl+P
Sync with Active Document Ctrl+[, S
or
Ctrl+[, Ctrl+S

Team: General Shortcuts

Commands Keyboard Shortcuts
Go to Git branches Ctrl+0 (zero), Ctrl+N
or
Ctrl+0, N
Go to Git changes Ctrl+0 (zero), Ctrl+G
or
Ctrl+0, G
Go to Git commits Ctrl+0 (zero), Ctrl+O (letter 'O')
or
Ctrl+0, O
Team Explorer search Ctrl+'

Team Foundation Context Menus: General Shortcuts

Commands Keyboard Shortcuts
Go to Builds Ctrl+0 (zero), Ctrl+B
or
Ctrl+0, B
Go to Connect Ctrl+0 (zero), Ctrl+C
or
Ctrl+0, C
Go to Documents Ctrl+0 (zero), Ctrl+D
or
Ctrl+0, D
Go to Home Ctrl+0 (zero), Ctrl+H
or
Ctrl+0, H
Go to My Work Ctrl+0 (zero), Ctrl+M
or
Ctrl+0, M
Go to Pending Changes Ctrl+0 (zero), Ctrl+P
or
Ctrl+0, P
Go to Reports Ctrl+0 (zero), Ctrl+R
or
Ctrl+0, R
Go to Settings Ctrl+0 (zero), Ctrl+S
or
Ctrl+0, S
Go to Web Access Ctrl+0 (zero), Ctrl+A
or
Ctrl+0, A
Go to Work Items Ctrl+0 (zero), Ctrl+W
or
Ctrl+0, W

Test: General Shortcuts

Commands Keyboard Shortcuts
Use Coded UI Test Builder Ctrl+\, Ctrl+C
Use Existing Action Recording Ctrl+\, Ctrl+A

Test Explorer: General Shortcuts

Commands Keyboard Shortcuts
Debug All Tests Ctrl+R, Ctrl+A
Debug All Tests in Context Ctrl+R, Ctrl+T
Debug Last Run Ctrl+R, D
Repeat Last Run Ctrl+R, L
Run All Tests Ctrl+R, A
Run All Tests in Context Ctrl+R, T
Show Test Explorer Ctrl+E, T
Open Tab Ctrl+E, L
Code Coverage Results Ctrl+E, C

Tools: General Shortcuts

Commands Keyboard Shortcuts
Attach to Process Ctrl+Alt+P
Snippet Manager Ctrl+K, Ctrl+B
Force GC Ctrl+Shift+Alt+F12, Ctrl+Shift+Alt+F12

View: General Shortcuts

Commands Keyboard Shortcuts
All WindowsShift+Alt+M
Architecture ExplorerCtrl+\, Ctrl+R
BackAlt+Left Arrow
Bookmark WindowCtrl+K, Ctrl+W
Browse NextCtrl+Shift+1
Browse PreviousCtrl+Shift+2
Call HierarchyCtrl+Alt+K
Class ViewCtrl+Shift+C
Class View Search BoxCtrl+K, Ctrl+V
Code Definition WindowCtrl+\, D or Ctrl+\, Ctrl+D
Command WindowCtrl+Alt+A
Data SourcesShift+Alt+D
Document OutlineCtrl+Alt+T
RenameF2
Error ListCtrl+\, E or Ctrl+\, Ctrl+E
F# InteractiveCtrl+Alt+F
Find Symbol ResultsCtrl+Alt+F12
ForwardAlt+Right Arrow
Browse Forward ContextCtrl+Shift+7
Full ScreenShift+Alt+Enter
Navigate BackwardCtrl+-
Navigate ForwardCtrl+Shift+-
Next ErrorCtrl+Shift+F12
NotificationsCtrl+W, N or Ctrl+W, Ctrl+N
Object BrowserCtrl+Alt+J
Object Browser Search BoxCtrl+K, Ctrl+R
OutputCtrl+Alt+O
Pop Browse ContextCtrl+Shift+8
Properties WindowF4
Property PagesShift+F4
Resource ViewCtrl+Shift+E
Server ExplorerCtrl+Alt+S
Show Smart TagShift+Alt+F10 or Ctrl+.
Solution ExplorerCtrl+Alt+L
SQL Server Object ExplorerCtrl+\, Ctrl+S
Task ListCtrl+\, T or Ctrl+\, Ctrl+T
TFS Team ExplorerCtrl+\, Ctrl+M
ToolboxCtrl+Alt+X
UML Model ExplorerCtrl+\, Ctrl+U
View CodeF7
View DesignerShift+F7
Web BrowserCtrl+Alt+R
Zoom InCtrl+Shift+.
Zoom OutCtrl+Shift+,
Show Test ExplorerCtrl+E, T

Window: General Shortcuts

Commands Keyboard Shortcuts
Activate document windowEsc
Add tab to selectionCtrl+Shift+Alt+Space
Close document windowCtrl+F4
Close tool windowShift+Esc
Keep tab openCtrl+Alt+Home
Go to navigation barCtrl+F2
Next document windowCtrl+F6
Next document window navigationCtrl+Tab
Next paneAlt+F6
Next pane segmentF6
Next tabCtrl+Alt+PgDn or Ctrl+PgDn
Next tab and add to selectionCtrl+Shift+Alt+PgDn
Next tool window navigationAlt+F7
Previous document windowCtrl+Shift+F6
Previous document window navigationCtrl+Shift+Tab
Previous paneShift+Alt+F6
Previous pane segmentShift+F6
Previous tabCtrl+Alt+PgUp or Ctrl+PgUp
Previous tab and add to selectionCtrl+Shift+Alt+PgUp
Previous tool window navigationShift+Alt+F7
Quick LaunchCtrl+Q
Quick Launch previous categoryCtrl+Shift+Q
Show Dock menuAlt+-
Show Ex MDI file listCtrl+Alt+Down Arrow
Solution Explorer searchCtrl+;
Window searchAlt+'

Related Articles

Comments ()

No comments yet. Be the first to comment!

Leave a Comment