ShortcutsWindows

140+ Visual Studio Shortcuts for Windows

Visual Studio Shortcuts helps you to navigate within the app interface effortlessly. Just within the few years of its existence, it has become the most popular text editor. It supports nearly every programming language.

List of Visual Studio Shortcuts

The below-given list of Visual Studio Shortcuts is very interesting and reduces the headache of using the mouse again and again. Download Visual Studio Shortcuts list in the form of 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 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

Code Editor Shortcuts

Action Visual Studio Shortcuts
Find and Replace 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 matching brace in 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 end of the document Ctrl + Shift + End
Extend selection to the beginning of the document Ctrl + Shift + Home
Extend selection to 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 selection one word to the right Ctrl + Shift + Right Arrow key
Extend selection one word to the left Ctrl + Shift + Left Arrow key

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 blank line above the cursor Ctrl + Enter
Enter 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 word from the completion list Ctrl + Spacebar
Show parameter info Ctrl + Shift + Spacebar
Display symbol declaration Ctrl + F12
Display symbol definition F12
Open IntelliSense completion list Ctrl + J

Bookmarks Shortcuts

Action Visual Studio Shortcut keys
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 bookmark window and focus on the editor Esc
Toggle code shortcut at the current line Ctrl + K + H
Clear all bookmarks Ctrl + K + L

Code Snippets Shortcuts

Action Visual Studio Shortcut keys
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
Static Void Main block S + V + M
Parallel P + U
Public Int Property P + R
Stackalloc S

Build and Debug Shortcuts

Action Visual Studio Shortcut keys
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 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 attach to process window Ctrl + Alt + P

Tool windows Shortcuts

Action Visual Studio Shortcut keys
Open 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 Resource view window Ctrl + Shift + E
Open Server Explorer window Ctrl + Alt + S
Open Solution Explorer window Ctrl + Shift + L
Close Find & Replace Window Shift + Esc

Download Visual Studio Shortcuts PDF

Download Visual Studio Shortcuts PDF

Visual Studio Shortcuts are helpful for writers and anyone who manipulates the text files. This list of Visual Studio Shortcuts will help you in becoming a Visual Studio Code power user. Are you a Sublime Text user for a text editor? Then here is the Sublime Text Shortcut list. Sublime Text, Vim, Eclipse, Visual Studio are familiar to each other.

READ NEXT:

Devil

Hello, My name is Pratik, Founder of Tutorial Tactic. Only the mistakes will help you learn and Tutorial Tactic help you to stand strong and learn even harder & achieve success!

Leave a Reply

Your email address will not be published.

Back to top button