Smart Tools
Blog博客
Theme
Поиск
User login

VS Code Shortcut Search

consult (a document etc)
Введение в горячие клавиши VS Code:

1. Visual Studio Code (сокращенно VS Code) — это современный облегченный редактор исходного кода, разработанный компанией Microsoft и доступный по лицензии с открытым исходным кодом.

2. VS Code поддерживает множество языков программирования, а также обладает богатым набором функций и возможностей расширения, что делает его одним из предпочтительных инструментов разработки для многих программистов.

3. В данном руководстве тщательно собраны и систематизированы часто используемые горячие клавиши редактора VS Code, включая горячие клавиши для версий VS Code для Windows и macOS.

4. Умение свободно пользоваться этими горячими клавишами может значительно повысить эффективность разработки, сократить количество манипуляций с мышью и позволить вам сосредоточиться на написании кода.

VScode Global Shortcuts for Win
(computer) shortcut key clarification
Ctrl + Shift + P,F1 Show Command Panel
Ctrl + P Quick open, go to file...
Ctrl + Shift + N New window/example
Ctrl + Shift + W Close window/example
Ctrl + , Editor settings
Ctrl + K,Ctrl + S Keyboard Shortcuts
Basic editing of VScode for Win
(computer) shortcut key clarification
Ctrl + X Cut a line (when not selected)
Ctrl + C Copy a line (when not selected)
Alt + ↑ Moving up the rows
Alt + ↓ Moving down the rows
Shift + Alt + ↑ Copy the current line above
Shift + Alt + ↓ Copy the current line below
Ctrl + Shift + K Delete a line
Ctrl + Enter Insert the following line
Ctrl + Shift + Enter Insert line above
Ctrl + Shift + \ Jump to matching brackets
Ctrl + ] Add indentation
Ctrl + [ Reduced indentation
Home Go to the beginning of the line
End go to the end of the line
Ctrl + Home Go to the beginning of the document
Ctrl + End Go to end of document
Ctrl + ↑ Scroll up rows
Ctrl + ↓ Scroll down rows
Alt + PgUp Scroll up the page
Alt + PgDn Scroll down the page
Ctrl + Shift + [ folding area
Ctrl + Shift + ] Unfolding area
Ctrl + K,Ctrl + [ Collapse all sub-areas
Ctrl + K,Ctrl + ] Expand all sub-areas
Ctrl + K,Ctrl + 0 Collapse all regions
Ctrl + K,Ctrl + J Expand all areas
Ctrl + K,Ctrl + C Adding line comments
Ctrl + K,Ctrl + U Remove line comments
Ctrl + / Toggle line comment
Shift + Alt + A Toggle block annotations
Alt + Z Toggle auto line feed
VScode Navigation for Win
(computer) shortcut key clarification
Ctrl + T Show all symbols
Ctrl + G Show all symbols
Ctrl + P Go to file...
Ctrl + Shift + O Go to symbols...
Ctrl + Shift + M Show Problem Panel
F8 Go to the next error or warning
Shift + F8 Go to previous error or warning
Ctrl + Shift + Tab Browse the history of the editor group
Alt + ← be back
Alt + → advance
Ctrl + M Toggle tab to move focus
VScode Find & Replace for Win
(computer) shortcut key clarification
Ctrl + F find
Ctrl + H interchangeability
F3 Find Next
Shift + F3 Find Previous
Alt + Enter Select all matches
Ctrl + D Add selection to the next search match
Ctrl + K,Ctrl + D Move the previous selection to the next search match
Alt + C Toggle case-sensitive or not
Alt + R Toggles whether the regular expression
Alt + W Toggles whether or not the whole word matches
VScode Multi Cursor & Selection for Win
(computer) shortcut key clarification
Alt + (mouse click) Insert Cursor
Ctrl + Alt + ↑ Insert cursor above
Ctrl + Alt + ↓ Insert cursor below
Ctrl + U Undo the previous cursor operation
Shift + Alt + I Insert the cursor at the end of each selected line
Ctrl + L Select the current line
Ctrl + Shift + L Select all current selections
Ctrl + F2 Select all occurrences of the current word
Shift + Alt + → Extended Options
Shift + Alt + ← Shrinkage Selection
Shift + Alt + (拖曳鼠标) Column (box) selection
Ctrl + Shift + Alt + (arrow keys) Column (box) selection
Ctrl + Shift + Alt + PgUp Selecting pages to the front column (box)
Ctrl + Shift + Alt + PgDn Backward column (box) selection page
VScode Code Editor for Win
(computer) shortcut key clarification
Ctrl + Space Show member list
Ctrl + Shift + Space Display parameter prompts
Shift + Alt + F Formatting Code
Ctrl + K,Ctrl + F Formatting Options
F12 Go to Definitions
Alt + F12 View Definitions
Ctrl + K,F12 Open the definition on the side
Ctrl + . Quick Fix
Shift + F12 Show Reference
F2 Rename Symbol
Ctrl + K,Ctrl + X Remove the space at the end of each line
Ctrl + K,M Switching Code Languages
VScode Editor Management for Win
(computer) shortcut key clarification
Ctrl + F4,Ctrl + W Close the editor
Ctrl + K,F Close the folder
Ctrl + \ Split Editor
Ctrl + 1 Let the first editor group get the spotlight
Ctrl + 2 Getting the second editor group to get focus
Ctrl + 3 Getting the third editor group to get focus
Ctrl + K,Ctrl + ← Let the previous editor group get the focus
Ctrl + K,Ctrl + → Let the next editor group get the focus
Ctrl + K,← Move the current editor group to the left
Ctrl + K,→ Move the current editor group to the right
Ctrl + Shift + PgUp Moving the editor to the left
Ctrl + Shift + PgDn Move the editor to the right
VScode File Management for Win
(computer) shortcut key clarification
Ctrl + N New file
Ctrl + O Open file...
Ctrl + S Save file
Ctrl + Shift + S save file as ...
Ctrl + K,S Save All
Ctrl + F4 Close file
Ctrl + K,Ctrl + W Close all files
Ctrl + Shift + T Reopen the closed editor
Ctrl + K,Enter Keep the preview mode editor open
Ctrl + Tab Open the next file
Ctrl + Shift + Tab Open the previous file
Ctrl + K,P Copying the path to the active file
Ctrl + K,R Show active files in Explorer
Ctrl + K,O Open the currently active file in a new window/instance
VScode for Win shows
(computer) shortcut key clarification
F11 Toggle full screen
Shift + Alt + 0 Toggle editor layout (horizontal/vertical)
Ctrl + = Zoom Editor
Ctrl + - Zoom Editor
Ctrl + B Show/hide sidebar
Ctrl + Shift + E Show Explorer/Toggle Focus
Ctrl + Shift + F Show Find
Ctrl + Shift + G Display source code control
Ctrl + Shift + D Show debugging
Ctrl + Shift + X Display Expansion
Ctrl + Shift + H Substitute
Ctrl + Shift + J Toggle search details
Ctrl + Shift + U Display Output Panel
Ctrl + Shift + V Open Markdown Preview
Ctrl + K,V Open Markdown preview on the side
Ctrl + K,Z Zen mode (press Esc 2 times to exit)
VScode Debug for Win
(computer) shortcut key clarification
F9 Insert breakpoints
F5 Start/Continue
Shift + F5 cessation
F11 stepper
Shift + F11 step out
F10 step over
Ctrl + K,Ctrl + I Display Hover
VScode Terminal for Win (Terminal)
(computer) shortcut key clarification
Ctrl + ` Display integrated terminals
Ctrl + Shift + ` Creating a new terminal
Ctrl + C Copy Selection
Ctrl + V Paste to active terminal
Ctrl + ↑ Scroll up
Ctrl + ↓ Scroll down
Shift + PgUp Scroll up the page
Shift + PgDn Scroll down the page
Ctrl + Home Scroll to top
Ctrl + End Scroll to the bottom
VScode Global Shortcuts for macOS
(computer) shortcut key clarification
Command + Shift + P, F1 Show Command Panel
Command + P Quick open, go to file...
Command + Shift + N New window/example
Command + W Close window/example
Command + , Editor settings
Command + K, Command + S Keyboard Shortcuts
Basic editing of VScode for macOS
(computer) shortcut key clarification
Command + X Cut a line (when not selected)
Command + C Copy a line (when not selected)
Option + ↑ Move the current line up
Option + ↓ Move the current line down
Shift + Option + ↑ Copy the line above
Shift + Option + ↓ Copy the line below
Command + Shift + K Delete a line
Command + Enter Insert the following line
Command + Shift + Enter Insert line above
Command + Shift + \ Jump to matching brackets
Command + ] Add indentation
Command + [ Reduced indentation
Home Go to the beginning of the line
End go to the end of the line
Command + ↑ Go to the beginning of the document
Command + ↓ Go to end of document
Control + Fn + ↑ Scroll up rows
Control + Fn + ↓ Scroll down rows
Command + Fn + ↑ Scroll up the page
Command + Fn + ↓ Scroll down the page
Command + Option + [ folding area
Command + Option + ] Unfolding area
Command + K, Command + [ Collapse all sub-areas
Command + K, Command + ] Expand all sub-areas
Command + K, Command + 0 Collapse all regions
Command + K, Command + J Expand all areas
Command + K, Command + C Adding line comments
Command + K, Command + U Remove line comments
Command + / Toggle line comment
Shift + Option + A Toggle block annotations
Option + Z Toggling the editor's automatic line feed
VScode Navigation for macOS
(computer) shortcut key clarification
Command + T Show all symbols
Control + G Moving to the line...
Command + P Go to file...
Command + Shift + O Go to symbols...
Command + Shift + M Show Problem Panel
F8 Go to the next error or warning
Shift + F8 Go to previous error or warning
Control + Shift + Tab Show editor history
Control + - be back
Control + Shift + - advance
Control + Shift + M Toggle tab to move focus
VScode code editing for macOS
(computer) shortcut key clarification
Control + Space Trigger recommendations
Command + Shift + Space Trigger parameter prompts
Shift + Option + F Formatting documents
Command + K, Command + F Formatting Options
F12 Go to Definitions
Option + F12 View Definitions
Command + K, F12 Open the definition on the side
Command + . Quick Fix
Shift + F12 Show Reference
F2 Rename Symbol
Command + K, Command + X Trimming trailing spaces
Command + K, M Change document language
VScode Editor Management for macOS
(computer) shortcut key clarification
Command + W Close the editor
Command + K, F Close the folder
Command + \ Split Editor
Command + 1 Let the first editor group get the spotlight
Command + 2 Getting the second editor group to get focus
Command + 3 Getting the third editor group to get focus
Command + K, ← Get focus on the previous editor group
Command + K, → Get focus on the next editor group
VScode File Management for macOS
(computer) shortcut key clarification
Command + N New file
Command + O Open file...
Command + S Save file
Command + Shift + S save file as ...
Command + Option + S Save All
Command + W Close the current file
Command + K, Command + W Close all files
Command + Shift + T Reopening closed files
Command + K, Enter Keep the preview mode editor open
Control + Tab Open the next file
Control + Shift + Tab Open the previous file
Command + K, P Copying the path to the active file
Command + K, R Show active files in Explorer
Command + K, O Show active file in new window/instance
VScode for macOS shows
(computer) shortcut key clarification
Command + Control + F Toggle full screen
Command + Option + 0 Toggle editor layout (horizontal/vertical)
Command + = Zoom Editor
Command + - Zoom Editor
Command + B Show/hide sidebar
Command + Shift + E Show Explorer/Toggle Focus
Command + Shift + F Show Find
Control + Shift + G Display source code control
Command + Shift + D Show debugging
Command + Shift + X Display Expansion
Command + Shift + H Replace in the file
Command + Shift + J Toggle search details
Command + Shift + U Display Output Panel
Command + Shift + V Open Markdown Preview
Command + K, V Open Markdown preview on the side
Command + K, Z Zen mode (press Esc 2 times to exit)
VScode Debug Debugging for macOS
(computer) shortcut key clarification
F9 breakpoint
F5 Start/Continue
F11 stepper
Shift + F11 step out
F10 step over
Shift + F5 cessation
Command + K, Command + I Display Hover
VScode Terminal for macOS
(computer) shortcut key clarification
Control + ` Display integrated terminals
Control + Shift + ` Creating a new terminal
Command + C Copy Selection
Command + ↑ Scroll up
Command + ↓ Scroll down
Recommended Tools
Главная Поиск Избранное Язык