Visual Studio Code shortcut keys Daquan (Windows)

Source: Internet
Author: User

Ctrl+shift+p, F1 Open command panel
Ctrl+p quickly open files
Ctrl+shift+n opening a new window/instance
Ctrl+shift+w Close Window/instance
Basic editing
Ctrl+x cut as you move forward
CTRL + C copy when moving forward
Alt+↑/↓ up/down move forward
Shift+alt +↓/↑ up/down copy as Forward
Ctrl+shift+k Delete When moving forward
Ctrl+enter inserted below the current line
Ctrl+shift+enter inserted above the current line
Ctrl+shift+\ jump to matching parentheses
CTRL +]/[Indent/Cancel Indent
Home go to the beginning of the line
End go to end of line
Ctrl+home go to the top of the page
Ctrl+end go to the end of the page
ctrl+↑/↓ Scroll up/down
Alt+pgup/pgdown Up/down page
ctrl+shift+[collapsing the current code block
ctrl+shift+] Expand the current code block
Ctrl+k ctrl+[collapse All child code blocks
Ctrl+k Ctrl +] Expand all child code blocks
Ctrl+k ctrl+0 collapse All code blocks
Ctrl+k ctrl+j Expand All code blocks
Ctrl+k Ctrl + C Add line comment
Ctrl+k Ctrl+u Delete line Comment
ctrl+/Add/Remove line comments
Shift+alt+a Add/Remove block comments
Alt+z Automatic Line Wrapping
Navigation
Ctrl+t Show All symbols
Ctrl+g Jump To Line
Ctrl+p Jump to File
Ctrl+shift+o Jump to Symbol
CTRL+SHIFT+M Display Issues Panel
F8 jump to the next question or warning
Shift+f8 jump to a previous issue or warning
Ctrl+shift+tab Show editor File history
alt+←/→ viewing files backwards/forwards
Ctrl+m on/off Tab move focus
Search and replace
Ctrl+f Find
Ctrl+h replacement
F3/shift+f3 Find Next/Previous
Alt+enter Select all Matches
Ctrl+d Select Next Match
Ctrl+k Ctrl+d skips the current selection
ALT+C/R/W Toggle Case Sensitivity/Regular expression/whole word
Multiple cursors and selection
Alt+click insertion Cursor
Ctrl+alt+↑/↓ up/down insertion cursor
Ctrl+u Undo Previous cursor
Shift+alt+i insertion cursor at the end of row selection
Ctrl+i Select when to move forward
Ctrl+shift+l Select all occurrences of the currently selected item
CTRL+F2 Select all occurrences of the current word
shift+alt+→ Extended Selection
shift+alt+← Narrow Selection
Shift+alt + (drag mouse) column (box) selection
Ctrl+shift+alt + (arrow key) column (box) selection
Ctrl+shift+alt +pgup/pgdown PAGE Up/Next column (box) selection
Rich language editing
Ctrl+space Opening Suggestions
Ctrl+shift+space Open Parameter Hints
Tab Emmet Expand Abbreviations
Shift+alt+f Formatting documents
Ctrl+k ctrl+f Formatting Selection area
F12 jump To Definition
ALT+F12 Open window Display definition
Ctrl+k F12 Open Sidebar display definition
CTRL +. Quick fix
SHIFT+F12 Display References
F2 renaming symbols
ctrl+shift+. /, replace with next/previous value
Ctrl+k ctrl+x Delete line trailing spaces
Ctrl+k M Changing the text language
Edit Management
CTRL+F4, Ctrl+w close the edited file
Ctrl+k F Close Folder
Ctrl+\ Split editor window
CTRL + 1/2/3 to switch to the first, second, or third window
Ctrl+k ctrl+←/→ Switch to previous/next window
Ctrl+shift+pgup/pgdown moving the edited file left/right
ctrl+k←/→ move the edit window left/right

Visual Studio Code shortcut keys Daquan (Windows)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.