Visual Studio shortcuts help you navigate the app interface effortlessly. Within a few years of its existence, it has become one of the most popular text editors. It supports nearly every programming language.
The list of Visual Studio shortcuts given below is fascinating 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
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
Coding Shortcuts
Action
Visual Studio Shortcut Keys
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
Visual Studio shortcuts are helpful for writers and anyone who manipulates text files. This Visual Studio shortcut list will help you become a Visual Studio Code power user.