VSCode Configuration

Hotkey

General

Ctrl+Shift+P Show command palette
Ctrl+P Quick Open
Ctrl+Shift+N New window
Ctrl+Shift+W Close window

Basic editing

Ctrl+Shift+[ Fold region
Ctrl+Shift+] Unfold region
Ctrl+K+Ctrl+[ Fold all subregions
Ctrl+K+Ctrl+] Unfold all subregions
Alt+\(\leftarrow\) Navigate back
Alt+\(\rightarrow\) Navigate forward

Editor management

Ctrl+W Close editor
Ctrl+\ Split editor
Ctrl+1/2/3 Focus into 1st, 2nd or 3rd editor group
Ctrl+K+Ctrl+\(\leftarrow\) / \(\rightarrow\) Focus into left/right editor group
Ctrl+Alt+Z Focus into next editor group
Ctrl+Shift+PgUp/PgDown Move editor left/right
Ctrl+K+\(\leftarrow\) / \(\rightarrow\) Move active editor group
Ctrl+Alt+\(\rightarrow\) Move to next editor group
Ctrl+Alt+\(\leftarrow\) Move to previous editor group

Rich languages editing

Shift+Alt+F Format document

File management

Ctrl+Tab Open next
Ctrl+Shift+Tab Open previous
Ctrl+K+P Copy path of active file
Ctrl+N New file
Ctrl+O Open file
Shift+Alt+C Copy path of active file

Display

Ctrl+Shift+Q Show Explorer
Ctrl+Shift+F Show Search
Ctrl+Shift+G G Show Git
Ctrl+Shift+D Show Debug
Ctrl+K+V Open Markdown preview to the side
Ctrl+Alt+X Show Outline

Debug

F9 Toggle breakpoint
F5 Continue
Shift+F5 Stop
F11/Shift F11 Step into/out
F10 Step over

Integrated terminal

Ctrl+` Show integrated terminal
Ctrl+Shift+` Create new terminal
Ctrl+Shift+C Copy selection
Ctrl+Shift+V Paste into active terminal
Ctrl+PgUp/PgDown Focus on previous/next terminal group
Alt+Delete Kill the active terminal instance

BookMark

Ctrl+ALT+K Toggle
Ctrl+K Ctrl+ALT+K Focus

C/C++

Vim


VSCode Configuration
http://chenxindaaa.com/Programming/Python/VSCode Configuration/
Author
chenxindaaa
Posted on
November 28, 2023
Licensed under