Shortcuts in Visual Studio
Let's see some shortcuts in Visual Studio 😀
Reasons to use shortcuts:
- accelerating development
- increasing productivity
- simplifying writing
- looking fancy 😎
Word Level
Ctrl
+ W
– Select
Ctrl
+ Space
– IntelliSense
F1
– Help
Esc
– Close Dialog
Ctrl
+ .
– Suggestions
Ctrl
+ U
– Lowercase
Ctrl
+ Shift
+ U
– Uppercase
F12
– Definition
Ctrl
+ F12
– Declaration
Alt
+ F12
– Peek Definition
Shift
+ F12
– Find All References
Words Level
Ctrl
+ →
– Next Word
Ctrl
+ ←
– Previous Word
Ctrl
+ Backspace
– Delete Left
Ctrl
+ Delete
– Delete Right
Shift
– ←
– Move Cursor
Shift
– ↓
– Move Cursor
Shift
– →
– Move Cursor
Shift
– ←
– Move Cursor
Line Level
Ctrl
+ X
– Copy
Ctrl
+ V
– Paste
Ctrl
+ C
– Cut
Ctrl
+ Z
– Undo
Ctrl
+ Y
– Redo
Home
– Start
End
– End
Ctrl
+ K
+ Ctrl
+ C
– Comment
Ctrl
+ K
+ Ctrl
+ U
– Uncomment
Shift
+ Home
– Select Left
Shift
+ End
– Select Right
Alt
+ ↑
– Move Up
Alt
+ ↓
– Move Down
Bookmarks
Ctrl
+ K
+ Ctrl
+ K
– Toggle Bookmark
Ctrl
+ K
+ Ctrl
+ N
– Next Bookmark
Ctrl
+ K
+ Ctrl
+ P
– Previous Bookmark
Lines Level
Enter
– Add Below
Ctrl
+ Enter
– Add Above
Ctrl
+ Shift
+ Home
– Select Above
Ctrl
+ Shift
+ End
– Select Below
Ctrl
+ ]
– Go to Brace
Tab
– Indent
Shift
+ Tab
– Outdent
Ctrl
+ M
– Collapse/Expand
Ctrl
+ L
– Cut Selected
Ctrl
+ Shift
+ L
– Delete Selected
Refactoring
Ctrl
+ R
+ Ctrl
+ M
– Extract Method
Ctrl
+ R
+ Ctrl
+ I
– Extract Interface
Ctrl
+ R
+ Ctrl
+ V
– Remove Parameters
Ctrl
+ R
+ Ctrl
+ E
– Encapsulate Field
Ctrl
+ R
+ Ctrl
+ R
– Rename
File Level
Ctrl
+ N
– New File
Ctrl
+ O
– Open File
Ctrl
+ S
– Save
Ctrl
+ Shift
+ S
– Save All
Ctrl
+ Home
– Move to Start
Ctrl
+ End
– Move to End
Ctrl
+ G
– Go to Line
Ctrl
+ ↑
- Scroll Up
Ctrl
+ ↓
- Scroll Down
Ctrl
+ Shift
+ .
– Zoom In
Ctrl
+ Shift
+ ,
– Zoom Out
Ctrl
+ K
+ D
– Format All
Ctrl
+ R
+ Ctrl
+ W
– Show Spaces
Ctrl
+ A
– Select All
Ctrl
+ F
– Find
Ctrl
+ Shift
+ F
– Find All
Ctrl
+ I
– Search
Ctrl
+ H
– Replace
Ctrl
+ Shift
+ H
– Replace All
Ctrl
+ Shift
+ V
– Paste Previous Content
Ctrl
+ ,
– Go to
Files Level
Ctrl
+ Tab
– Cycle Files
Ctrl
+ -
– Go Back
Ctrl
+ Shift
+ -
– Go Forward
F7
– Design to Code
Shift
+ F7
– Code to Design
Window Level
Ctrl
+ Alt
+ I
– Show Solution Explorer
Ctrl
+ \
+ T
– Task List
Ctrl
+ \
+ E
– Error List
Ctrl
+ \
+ S
– SQLServer
Debug
F9
– Toggle Breakpoint
Ctrl
+ Shift
+ F9
– Remove All Breakpoints
Ctrl
+ Shift
+ B
– Build
F5
– Run with Debugger
Ctrl
+ F5
– Run without Debugger
Shift
+ F5
– Stop Debugging
F11
– Step Into
Shift
+ F11
– Step Out
F10
– Step Over
Testing
Ctrl
+ R
, T
– Run Tests
Ctrl
+ R
, Ctrl
+ T
– Debug Tests
"Emmet"
if
switch
while
do
for
forr
foreach
try
tryf
prop
propfull
propg
region
ctor
cw
enum
class
interface