Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
15 views3 pages

VS Code Architecture

The document provides a comprehensive list of keyboard shortcuts for Windows, macOS, and Linux, organized by categories such as file management, search and replace, basic editing, navigation, and debugging. Each category includes specific key combinations for various actions, enhancing productivity in code editing environments. Additionally, it mentions that unassigned shortcuts and shortcuts for other operating systems can be found at a specified URL.

Uploaded by

priya_psalms
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views3 pages

VS Code Architecture

The document provides a comprehensive list of keyboard shortcuts for Windows, macOS, and Linux, organized by categories such as file management, search and replace, basic editing, navigation, and debugging. Each category includes specific key combinations for various actions, enhancing productivity in code editing environments. Additionally, it mentions that unassigned shortcuts and shortcuts for other operating systems can be found at a specified URL.

Uploaded by

priya_psalms
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Ctrl+M Toggle Tab moves focus File management

Ctrl+N New File


Search and replace
Keyboard shortcuts for Windows Ctrl+F Find
Ctrl+O
Ctrl+S
Open File...
Save
Ctrl+H Replace Ctrl+Shift+S Save As...
General F3 / Shift+F3 Find next/previous Ctrl+K S Save All
Alt+Enter Select all occurences of Find match Ctrl+F4 Close
Ctrl+Shift+P, F1 Show Command Palette Ctrl+D Add selection to next Find match Ctrl+K Ctrl+W Close All
Ctrl+P Quick Open, Go to File… Ctrl+K Ctrl+D Move last selection to next Find match Ctrl+Shift+T Reopen closed editor
Ctrl+Shift+N New window/instance Alt+C / R / W Toggle case-sensitive / regex / whole word Ctrl+K Enter Keep preview mode editor open
Ctrl+Shift+W Close window/instance Ctrl+Tab Open next
Ctrl+, User Settings
Multi-cursor and selection Ctrl+Shift+Tab Open previous
Ctrl+K Ctrl+S Keyboard Shortcuts Ctrl+K P Copy path of active file
Alt+Click Insert cursor
Ctrl+K R Reveal active file in Explorer
Basic editing Ctrl+Alt+ ↑ / ↓ Insert cursor above / below
Ctrl+K O Show active file in new window/instance
Ctrl+U Undo last cursor operation
Ctrl+X Cut line (empty selection) Shift+Alt+I Insert cursor at end of each line selected Display
Ctrl+C Copy line (empty selection) Ctrl+L Select current line
Alt+ ↑ / ↓ Move line up/down Ctrl+Shift+L Select all occurrences of current selection F11 Toggle full screen
Shift+Alt + ↓ / ↑ Copy line up/down Ctrl+F2 Select all occurrences of current word Shift+Alt+0 Toggle editor layout (horizontal/vertical)
Ctrl+Shift+K Delete line Shift+Alt+→ Expand selection Ctrl+ = / - Zoom in/out
Ctrl+Enter Insert line below Shift+Alt+← Shrink selection Ctrl+B Toggle Sidebar visibility
Ctrl+Shift+Enter Insert line above Shift+Alt + Column (box) selection Ctrl+Shift+E Show Explorer / Toggle focus
Ctrl+Shift+\ Jump to matching bracket (drag mouse) Ctrl+Shift+F Show Search
Ctrl+] / [ Indent/outdent line Ctrl+Shift+Alt Column (box) selection Ctrl+Shift+G Show Source Control
Home / End Go to beginning/end of line + (arrow key) Ctrl+Shift+D Show Debug
Ctrl+Home Go to beginning of file Ctrl+Shift+Alt Column (box) selection page up/down Ctrl+Shift+X Show Extensions
Ctrl+End Go to end of file +PgUp/PgDn Ctrl+Shift+H Replace in files
Ctrl+↑ / ↓ Scroll line up/down Ctrl+Shift+J Toggle Search details
Alt+PgUp / PgDn Scroll page up/down Rich languages editing Ctrl+Shift+U Show Output panel
Ctrl+Shift+[ Fold (collapse) region Ctrl+Shift+V Open Markdown preview
Ctrl+Space, Ctrl+I Trigger suggestion
Ctrl+Shift+] Unfold (uncollapse) region Ctrl+K V Open Markdown preview to the side
Ctrl+K Ctrl+[ Fold (collapse) all subregions Ctrl+Shift+Space Trigger parameter hints Ctrl+K Z Zen Mode (Esc Esc to exit)
Ctrl+K Ctrl+] Unfold (uncollapse) all subregions Shift+Alt+F Format document
Ctrl+K Ctrl+0 Fold (collapse) all regions Ctrl+K Ctrl+F Format selection Debug
Ctrl+K Ctrl+J Unfold (uncollapse) all regions F12 Go to Definition
F9 Toggle breakpoint
Ctrl+K Ctrl+C Add line comment Alt+F12 Peek Definition
F5 Start/Continue
Ctrl+K Ctrl+U Remove line comment Ctrl+K F12 Open Definition to the side
Shift+F5 Stop
Ctrl+/ Toggle line comment Ctrl+. Quick Fix
F11 / Shift+F11 Step into/out
Shift+Alt+A Toggle block comment Shift+F12 Show References
F10 Step over
Alt+Z Toggle word wrap F2 Rename Symbol
Ctrl+K Ctrl+I Show hover
Ctrl+K Ctrl+X Trim trailing whitespace

Navigation Ctrl+K M Change file language Integrated terminal


Ctrl+` Show integrated terminal
Ctrl+T Show all Symbols Editor management
Ctrl+G Go to Line... Ctrl+Shift+` Create new terminal
Ctrl+P Go to File... Ctrl+F4, Ctrl+W Close editor Ctrl+C Copy selection
Ctrl+Shift+O Go to Symbol... Ctrl+K F Close folder Ctrl+V Paste into active terminal
Ctrl+Shift+M Show Problems panel Ctrl+\ Split editor Ctrl+↑ / ↓ Scroll up/down
F8 Go to next error or warning Ctrl+ 1 / 2 / 3 Focus into 1st, 2nd or 3rd editor group Shift+PgUp / PgDn Scroll page up/down
Shift+F8 Go to previous error or warning Ctrl+K Ctrl+ ←/→ Focus into previous/next editor group Ctrl+Home / End Scroll to top/bottom
Ctrl+Shift+Tab Navigate editor group history Ctrl+Shift+PgUp / PgDn Move editor left/right
Alt+ ← / → Go back / forward Ctrl+K ← / → Move active editor group Other operating systems’ keyboard shortcuts and additional
unassigned shortcuts available at aka.ms/vscodekeybindings
Search and replace ⇧⌘T Reopen closed editor
⌘K Enter Keep preview mode editor open
⌘F Find ⌃Tab / ⌃⇧Tab Open next / previous
Keyboard shortcuts for macOS Replace
⌥⌘F ⌘K P Copy path of active file
⌘G / ⇧⌘G Find next/previous ⌘K R Reveal active file in Finder
⌥Enter Select all occurrences of Find match ⌘K O Show active file in new window/instance
General ⌘D Add selection to next Find match
Move last selection to next Find match
Display
⌘K ⌘D
⇧⌘P, F1 Show Command Palette
⌘P Quick Open, Go to File…
Rich languages editing ⌃⌘F Toggle full screen
⇧⌘N New window/instance ⌥⌘0 Toggle editor layout (horizontal/vertical)
⌘W Close window/instance ⌃Space, ⌘I Trigger suggestion ⌘= / ⇧⌘- Zoom in/out
⌘, User Settings ⇧⌘Space Trigger parameter hints ⌘B Toggle Sidebar visibility
⌘K ⌘S Keyboard Shortcuts ⇧⌥F Format document ⇧⌘E Show Explorer / Toggle focus
⌘K ⌘F Format selection ⇧⌘F Show Search
Go to Definition
Basic editing F12 ⌃⇧G Show Source Control
⌥F12 Peek Definition ⇧⌘D Show Debug
⌘X Cut line (empty selection) ⌘K F12 Open Definition to the side ⇧⌘X Show Extensions
⌘C Copy line (empty selection) ⌘. Quick Fix ⇧⌘H Replace in files
⌥↓ / ⌥↑ Move line down/up ⇧F12 Show References ⇧⌘J Toggle Search details
⇧⌥↓ / ⇧⌥↑ Copy line down/up F2 Rename Symbol ⇧⌘U Show Output panel
⇧⌘K Delete line ⌘K ⌘X Trim trailing whitespace ⇧⌘V Open Markdown preview
⌘Enter / ⇧⌘Enter Insert line below/above ⌘K M Change file language ⌘K V Open Markdown preview to the side
⇧⌘\ Jump to matching bracket ⌘K Z Zen Mode (Esc Esc to exit)
⌘] / ⌘[ Indent/outdent line Navigation
Home / End Go to beginning/end of line
⌘T Show all Symbols Debug
⌘↑ / ⌘↓ Go to beginning/end of file
⌃PgUp / ⌃PgDn Scroll line up/down ⌃G Go to Line... F9 Toggle breakpoint
⌘PgUp /⌘PgDn Scroll page up/down ⌘P Go to File... F5 Start/Continue
⌥⌘[ / ⌥⌘] Fold/unfold region ⇧⌘O Go to Symbol... F11 / ⇧F11 Step into/ out
⌘K ⌘[ / ⌘K ⌘] Fold/unfold all subregions ⇧⌘M Show Problems panel F10 Step over
⌘K ⌘0 / ⌘K ⌘J Fold/unfold all regions F8 / ⇧F8 Go to next/previous error or warning ⇧F5 Stop
⌘K ⌘C Add line comment ⌃⇧Tab Navigate editor group history ⌘K ⌘I Show hover
⌘K ⌘U Remove line comment ⌃- / ⌃⇧- Go back/forward
Toggle Tab moves focus
Integrated terminal
⌘/ Toggle line comment ⌃⇧M
⇧⌥A Toggle block comment
⌥Z Toggle word wrap Editor management ⌃` Show integrated terminal
⌃⇧` Create new terminal
⌘W Close editor ⌘C Copy selection
Multi-cursor and selection ⌘K F Close folder ⌘↑ / ↓ Scroll up/down
⌥ + click Insert cursor ⌘\ Split editor PgUp / PgDn Scroll page up/down
⌥⌘↑ Insert cursor above ⌘1 / ⌘2 / ⌘3 Focus into 1st, 2nd, 3rd editor group ⌘Home / End Scroll to top/bottom
⌥⌘↓ Insert cursor below ⌘K ⌘← / ⌘K ⌘→ Focus into previous/next editor group
⌘U Undo last cursor operation ⌘K ⇧⌘← / ⌘K ⇧⌘→ Move editor left/right
⇧⌥I Insert cursor at end of each line selected ⌘K ← / ⌘K → Move active editor group
⌘L Select current line
⇧⌘L Select all occurrences of current selection File management
⌘F2 Select all occurrences of current word
⌘N New File
⌃⇧⌘→ / ← Expand / shrink selection
⌘O Open File...
⇧⌥ + drag mouse Column (box) selection
⌘S Save
⇧⌥⌘↑ / ↓ Column (box) selection up/down
⇧⌘S Save As...
⇧⌥⌘← / → Column (box) selection left/right
⌥⌘S Save All Other operating systems’ keyboard shortcuts and additional
⇧⌥⌘PgUp Column (box) selection page up
⌘W Close unassigned shortcuts available at aka.ms/vscodekeybindings
⇧⌥⌘PgDn Column (box) selection page down
⌘K ⌘W Close All
Multi-cursor and selection Editor management
Alt+Click Insert cursor* Ctrl+W Close editor
Shift+Alt+ ↑ / ↓ Insert cursor above/below Ctrl+K F Close folder
Keyboard shortcuts for Linux Ctrl+U Undo last cursor operation Ctrl+\ Split editor
Shift+Alt+I Insert cursor at end of each line selected Ctrl+ 1 / 2 / 3 Focus into 1st, 2nd, 3rd editor group
Ctrl+L Select current line Ctrl+K Ctrl + ← Focus into previous editor group
General
Ctrl+Shift+L Select all occurrences of current selection Ctrl+K Ctrl + → Focus into next editor group
Ctrl+Shift+P, F1 Show Command Palette Ctrl+F2 Select all occurrences of current word Ctrl+Shift+PgUp Move editor left
Ctrl+P Quick Open, Go to File... Shift+Alt + → Expand selection Ctrl+Shift+PgDn Move editor right
Ctrl+Shift+N New window/instance Shift+Alt + ← Shrink selection Ctrl+K ← Move active editor group left/up
Ctrl+W Close window/instance Shift+Alt + drag mouse Column (box) selection Ctrl+K → Move active editor group right/down
Ctrl+, User Settings
Ctrl+K Ctrl+S Keyboard Shortcuts Display File management
F11 Toggle full screen Ctrl+N New File
Basic editing
Shift+Alt+0 Toggle editor layout (horizontal/vertical) Ctrl+O Open File...
Ctrl+X Cut line (empty selection) Ctrl+ = / - Zoom in/out Ctrl+S Save
Ctrl+C Copy line (empty selection) Ctrl+B Toggle Sidebar visibility Ctrl+Shift+S Save As...
Alt+ ↓ / ↑ Move line down/up Ctrl+Shift+E Show Explorer / Toggle focus Ctrl+W Close
Ctrl+Shift+K Delete line Ctrl+Shift+F Show Search Ctrl+K Ctrl+W Close All
Ctrl+Enter / Insert line below/ above Ctrl+Shift+G Show Source Control Ctrl+Shift+T Reopen closed editor
Ctrl+Shift+Enter Ctrl+Shift+D Show Debug Ctrl+K Enter Keep preview mode editor open
Ctrl+Shift+\ Jump to matching bracket Ctrl+Shift+X Show Extensions Ctrl+Tab Open next
Ctrl+] / Ctrl+[ Indent/Outdent line Ctrl+Shift+H Replace in files Ctrl+Shift+Tab Open previous
Home / End Go to beginning/end of line Ctrl+Shift+J Toggle Search details Ctrl+K P Copy path of active file
Ctrl+ Home / End Go to beginning/end of file Ctrl+Shift+C Open new command prompt/terminal Ctrl+K R Reveal active file in Explorer
Ctrl+ ↑ / ↓ Scroll line up/down Ctrl+K Ctrl+H Show Output panel Ctrl+K O Show active file in new window/instance
Alt+ PgUp / PgDn Scroll page up/down Ctrl+Shift+V Open Markdown preview
Ctrl+Shift+ [ / ] Fold/unfold region Ctrl+K V Open Markdown preview to the side Debug
Ctrl+K Ctrl+ [ / ] Fold/unfold all subregions Ctrl+K Z Zen Mode (Esc Esc to exit)
Ctrl+K Ctrl+0 / Fold/Unfold all regions F9 Toggle breakpoint
Ctrl+K Ctrl+J F5 Start / Continue
Search and replace
Ctrl+K Ctrl+C Add line comment F11 / Shift+F11 Step into/out
Ctrl+K Ctrl+U Remove line comment Ctrl+F Find F10 Step over
Ctrl+/ Toggle line comment Ctrl+H Replace Shift+F5 Stop
Ctrl+Shift+A Toggle block comment F3 / Shift+F3 Find next/previous Ctrl+K Ctrl+I Show hover
Alt+Z Toggle word wrap Alt+Enter Select all occurrences of Find match
Ctrl+D Add selection to next Find match Integrated terminal
Ctrl+K Ctrl+D Move last selection to next Find match
Ctrl+` Show integrated terminal
Rich languages editing
Ctrl+Shift+` Create new terminal
Navigation
Ctrl+Space, Ctrl+I Trigger suggestion Ctrl+Shift+C Copy selection
Ctrl+Shift+Space Trigger parameter hints Ctrl+T Show all Symbols Ctrl+Shift+V Paste into active terminal
Ctrl+Shift+I Format document Ctrl+G Go to Line... Ctrl+Shift+ ↑ / ↓ Scroll up/down
Ctrl+K Ctrl+F Format selection Ctrl+P Go to File... Shift+ PgUp / PgDn Scroll page up/down
F12 Go to Definition Ctrl+Shift+O Go to Symbol... Shift+ Home / End Scroll to top/bottom
Ctrl+Shift+F10 Peek Definition Ctrl+Shift+M Show Problems panel
Ctrl+K F12 Open Definition to the side F8 Go to next error or warning
Ctrl+. Quick Fix Shift+F8 Go to previous error or warning
Shift+F12 Show References Ctrl+Shift+Tab Navigate editor group history
F2 Rename Symbol Ctrl+Alt+- Go back * The Alt+Click gesture may not work on some Linux distributions.
Ctrl+K Ctrl+X Trim trailing whitespace Ctrl+Shift+- Go forward You can change the modifier key for the Insert cursor command to
Ctrl+K M Change file language Ctrl+M Toggle Tab moves focus Ctrl+Click with the “editor.multiCursorModifier” setting.

You might also like