The following are some common shortcuts for Visual Studio Code that will help you type more efficiently

1. Open the

shortcuts describe
Ctrl + N The new file
Ctrl + Shift +N A new window
Ctrl + O Open the file
Ctrl + K + O Open folder
Ctrl + R Switching folders
Ctrl + W Close the file
Ctrl + Shift + T Reopen the recently closed file
Ctrl + Shift + W Close the window
Ctrl + Tab Open the list of recently opened files
Ctrl + \ Split editor
Ctrl + 1/2 /… Split and switch editors
Ctrl + P Open command Panel

2, edit,

shortcuts describe
Ctrl + C copy
Ctrl + V paste
Ctrl + X shear
Ctrl + Z undo
Ctrl + Y restore
Alt + up arrow key Move up one row
Alt + down arrow key Move down one line
Shift + Alt + up arrow key Copy up one row
Shift + Alt + down arrow key Copy down one line
Ctrl + L Select the current row
Shift + Alt + right arrow key Expand the selection
Shift + Alt + left arrow key Zoom out
Ctrl + Shift + K Delete current row
Ctrl + Enter Inserts a new row under the current row
Ctrl + Shift + Enter Inserts a new row on the current row
Ctrl + [ The indentation to the left
Ctrl + ] The indentation to the right
Shift + Alt + F Formatting documents
Ctrl + / Add/uncomment
Ctrl + Shift + [ Fold code recursively
Ctrl + Shift + ] Expand the code recursively
Ctrl + K + 0/1 /… Fold code in a hierarchical manner
Ctrl + K + J A code

3, debugging,

shortcuts describe
F5 Start debugging
Shift + F5 Stop debugging
Ctrl + Shift + F5 Restart the debugging
Ctrl + F5 Run directly
F9 Add a breakpoint
F10 Single step over
F11 Single step
Shift + F11 Single step stop

Jump, find, replace

shortcuts describe
Ctrl + G Jumps to the specified row
Ctrl + Shift + | Jump to matching parentheses
Ctrl + K + Q Jumps to last edited location
Ctrl + H replace
Ctrl + F The query
Alt + C Toggle case sensitive
Alt + W Toggles full word matching
Alt + R Toggle regular expressions
F3 Query next
Shift + F3 Query the previous one

5, view,

shortcuts describe
Ctrl + B Show/hide the sidebar
Ctrl + Shift + E Open Resource Manager
Ctrl + Shift + F Open global search
Ctrl + Shift + H Turn on global replacement
Ctrl + Shift + J Open detailed query
Ctrl + Shift + G Open code Management
Ctrl + Shift + D Open the debug
Ctrl + Shift + X Open the plug-in
Ctrl + J Show/hide panels
Ctrl + Shift + M Open question
Ctrl + Shift + U Open the output
Ctrl + Shift + Y Open the Debug console
Ctrl + ` Open a terminal
Ctrl + Shift + ` The new terminal