Developer ToolsShortcutsWindows

140 Visual Studio Keyboard Shortcuts

Visual Studio shortcuts help you navigate the app interface effortlessly. Just within a few years of its existence, it has become one of the most popular text editors. It supports nearly every programming language.

Download Visual Studio Shortcuts PDF

The list of Visual Studio shortcuts given below is very interesting and reduces the need to use the mouse repeatedly. Download the Visual Studio Shortcuts PDF.

Most used Visual Studio Shortcuts

Action Visual Studio shortcuts
Create new project Ctrl + Shift + N
Open file Ctrl + O
Open project Ctrl + Shift + O
Save current file Ctrl + S
Copy Ctrl + C
Paste Ctrl + V
Paste an item from the Clipboard Ctrl + Shift + V
Cut Ctrl + X
Redo Ctrl + Shift + Z
Undo Ctrl + Z
Save all files Ctrl + Shift + S
Add item to the project Ctrl + Shift + A
Close menu or dialogue Esc
Print Ctrl + P
Full-screen mode Shift + Alt + Enter
Close current tab Ctrl + F4
Go to the next window Ctrl + F6
Go to the previous window Ctrl + Shift + F6
Diagram Ctrl + 1
Criteria Ctrl + 2
SQL Ctrl + 3
Rename F2
Results Ctrl + 4

Similar Programs: Komodo Edit Keyboard Shortcuts

Code Editor Shortcuts

Action Visual Studio Shortcuts
Find and Replace the dialogue box Ctrl + F
Find next F3
Find Previous Shift + F3
Display Replace options Ctrl + H
Find all references for the selected symbol Shift + F12
Find in files Ctrl + Shift + F
Find next in the selected text Ctrl + F3
Find previous in the selected text Ctrl + Shift + F3
Find Symbol Alt + F12
Put the cursor in the find or command box Ctrl + D
Incremental search Ctrl + I
Reverse incremental search Ctrl + Shift + I
Quick find symbol Shift + Alt + F12
Display Navigate Ctrl + ,
Go to line number Ctrl + G
Select All Ctrl + A
Go to the matching brace in the source file Ctrl + ]
Jump to the next occurrence of the highlighted symbol Shift + Ctrl + Down Arrow key
Jump to the previous occurrence of the highlighted symbol Shift + Ctrl + Up Arrow key
Extend selection to the end of the document Ctrl + Shift + End
Extend selection to the beginning of the document Ctrl + Shift + Home
Extend selection to the next brace Ctrl + Shift + ]
Extend selection to end of line Shift + End
Extend selection to the beginning of a line Shift + Home
Extends selection down one page Shift + Page Down key
Extends selection up one page Shift + Page Up key
Select current word Ctrl + W
Extend selection to the last line in view Ctrl + Shift + Page Down key
Extend selection to the first line in view Ctrl + Shift + Page Up key
Extend the selection of one word to the right Ctrl + Shift + Right Arrow key
Extend the selection of one word to the left Ctrl + Shift + Left Arrow key

Similar Programs: Atom Keyboard Shortcuts

Coding Shortcuts

Action Visual Studio Shortcuts
Collapse or un-collapse current preset area Ctrl + M + M
Collapse or hide current selection Ctrl + M + H
Collapse declaration bodies Ctrl + M + O
Collapse all Ctrl + M + A
Uncollapse all Ctrl + M + X
Collapse HTML tag Ctrl + M
Delete current line Ctrl + L
Delete the word to the right of the cursor Ctrl + Delete
Delete the word to the left of the cursor Ctrl + Backspace
Enter a blank line above the cursor Ctrl + Enter
Enter a blank line below the cursor Ctrl + Shift + Enter
Make uppercase Ctrl + Shift + U
Make lowercase Ctrl + U
Comment selected text Ctrl + K + C
Uncomment selected text Ctrl + K + U
Remove white space and tabs in the selection Ctrl + K + \
Format document to code formatting settings Ctrl + K + D
Format selection to code formatting settings Ctrl + K + F
Display parameter required for the selected method Ctrl + Shift + Spacebar
Visualize whitespace Ctrl + Shift + 8
Autocomplete words from the completion list Ctrl + Spacebar
Show parameter info Ctrl + Shift + Spacebar
Display symbol declaration Ctrl + F12
Display symbol definition F12
Open the IntelliSense completion list Ctrl + J

Similar Programs: Xcode Keyboard Shortcuts

Bookmarks Shortcuts

Action Visual Studio Shortcuts
Toggle bookmark Ctrl + K + K
Go to the next bookmark Ctrl + K + N
Go to the previous bookmark Ctrl + K + P
Go to the next bookmark in the folder Ctrl + Shift + K + N
Go to the previous bookmark in the folder Ctrl + Shift + K + P
Put the focus on the bookmark window Ctrl + K + W
Leave the bookmark window and focus on the editor Esc
Toggle the code shortcut at the current line Ctrl + K + H
Clear all bookmarks Ctrl + K + L

Code Snippets Shortcuts

Action Visual Studio Shortcuts
If block I
Else block E + L
Do While Loop block D + O
For Loop block F + O + R
While loop block W + H
Lock block L
Break B + R
Short Data types S + H
True Data types T + R
False Data types F
Float Data types F + L
Byte Data types B + Y
Bool Data types B + O
Enum myEnum Data types E
A new public class block T
Console.WriteLine C + W
MessageBox.show M + B
CrossAppDomainDelegate C + R
AccessViolationException A + B
Exception class E + X
The static Void Main block S + V + M
Parallel P + U
Public Int Property P + R
Stackalloc S

Similar Programs: Eclipse IDE Keyboard Shortcuts

Build and Debug Shortcuts

Action Visual Studio Shortcuts
Build solution F6
Rebuild solution Ctrl + Alt + F7
Show error list Ctrl + \ + E
Toggle breakpoint F9
Insert new function breakpoint Ctrl + B
Start debugging F5
Debug – step into F11
Debug – step over F10
Debug – step out Shift + F11
Debug – run to cursor Ctrl + F10
Show Quickwatch window Ctrl + Alt + Q
Set the current statement to be the next executed Ctrl + Shift + F10
Show next statement Alt + *
Show Exception dialogue box Ctrl + Alt + E
Toggle between disassembly and user code view Ctrl + F11
Stop Debugging Shift + F5
Bypass debugger Ctrl + F5
Show attached to process window Ctrl + Alt + P

Similar Programs: IntelliJ Keyboard Shortcuts

Tool windows Shortcuts

Action Visual Studio Shortcuts
Open the code snippet manager window Ctrl + K + B
Open macro IDE window Alt + F11
Open bookmark window Ctrl + K + W
Open call hierarchy window Ctrl + Alt + K
Open class view window Ctrl + Shift + C
Open Command window Ctrl + Alt + A
Open Output window Ctrl + Shift + O
Open the Resource view window Ctrl + Shift + E
Open the Server Explorer window Ctrl + Alt + S
Open the Solution Explorer window Ctrl + Shift + L
Close Find & Replace Window Shift + Esc

Visual Studio shortcuts are helpful for writers and anyone who manipulates text files. This list of Visual Studio shortcuts will help you in becoming a Visual Studio Code power user.

READ NEXT:

Back to top button