Vscode Common shortcut keys (Windows)

Source: Internet
Author: User

Vscode is very suitable for writing TS and React, recently in Learning AngularJs 2, began to use Vscode, deliberately organized the official website shortcut keys.

General
Ctrl+shift+p, F1 Open Command Panel
Ctrl+p Quickly open files
Ctrl+shift+n Open a new Window/instance
Ctrl+shift+w Close Window/instance
Basic editing
Ctrl+x Cut when moving forward
CTRL + C Copy when moving forward
Alt+↑/↓ Move up/down when moving forward
Shift+alt +↓/↑ Copy up/down when moving forward
Ctrl+shift+k Delete When moving forward
Ctrl+enter Insert below the current line
Ctrl+shift+enter Insert below 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 top of page
Ctrl+end Go to end of page
Ctrl+↑/↓ Scroll up/Down
Alt+pgup/pgdown Page Up/Down
ctrl+shift+[ Collapse the current code block
Ctrl+shift+] Expand 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 Wrap Line
TD style= "width:50%;" >ctrl+shift+m
Navigation
ctrl+t show all symbols
ctrl+g jump to line
ctrl+p jump to file
ctrl+shift+o jump to symbol
display issues panel
f8 Jump to the next question or warning
shift+f8 jump to previous issue or warning
ctrl+shift+tab show editor file history
alt+←/→ backward/Forward View file
ctrl+m
Search and replace
Ctrl+f Find
Ctrl+h Replace
F3/shift+f3 Find Next/Previous
Alt+enter Select All Matches
Ctrl+d Select the next occurrence
Ctrl+k Ctrl+d Skip the current selection
ALT+C/R/W Toggle case Sensitivity/Regular expression/whole word
Multiple cursors and selection
Alt+click Insert Cursor
Ctrl+alt+↑/↓ Insert cursor up/down
Ctrl+u Undo Previous cursor
Shift+alt+i Inserts the cursor at the end of the row in the selection
Ctrl+i Select when to move forward
Ctrl+shift+l Selects 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 Up page/Next page column (box) selection

Vscode Common shortcut keys (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.