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

0% found this document useful (0 votes)
109 views1 page

Visual Studio Code Keybindings Guide

The document provides keyboard shortcuts for various editing functions in Visual Studio Code, including searching/replacing text, navigating/selecting text, commenting code, formatting/linting code, managing tabs/windows, and more. Many common actions have keyboard shortcuts like Ctrl+S to save, Ctrl+Z to undo, and Ctrl+X/C/V for cut/copy/paste. More advanced shortcuts allow for multi-cursor selection, peeking definitions, renaming symbols, and splitting/moving editor panels.

Uploaded by

pera
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)
109 views1 page

Visual Studio Code Keybindings Guide

The document provides keyboard shortcuts for various editing functions in Visual Studio Code, including searching/replacing text, navigating/selecting text, commenting code, formatting/linting code, managing tabs/windows, and more. Many common actions have keyboard shortcuts like Ctrl+S to save, Ctrl+Z to undo, and Ctrl+X/C/V for cut/copy/paste. More advanced shortcuts allow for multi-cursor selection, peeking definitions, renaming symbols, and splitting/moving editor panels.

Uploaded by

pera
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/ 1

Search and replace

Ctrl+F Find
Ctrl+H Replace
F3 / Shift+F3 Find next/previous
Alt+Enter Select all occurences of Find match
General Ctrl+D Add selection to next Find match
Ctrl+K Ctrl+D Move last selection to next Find match
Ctrl+Shift+P, F1 Show Command Palette
Alt+C / R / W Toggle case-sensitive / regex / whole word
Ctrl+P Quick Open, Go to File…
Ctrl+Shift+N New window/instance
Ctrl+Shift+W Close window/instance Multi-cursor and selection
Ctrl+, User Settings Alt+Click Insert cursor
Ctrl+K Ctrl+S Keyboard Shortcuts Ctrl+Alt+ ↑ / ↓ Insert cursor above / below
Ctrl+U Undo last cursor operation
Basic editing Shift+Alt+I Insert cursor at end of each line selected
Ctrl+I Select current line
Ctrl+X Cut line (empty selection)
Ctrl+Shift+L Select all occurrences of current selection
Ctrl+C Copy line (empty selection)
Ctrl+F2 Select all occurrences of current word
Alt+ ↑ / ↓ Move line up/down
Shift+Alt+→ Expand selection
Shift+Alt + ↓ / ↑ Copy line up/down
Shift+Alt+← Shrink selection
Ctrl+Shift+K Delete line
Shift+Alt + Column (box) selection
Ctrl+Enter Insert line below
(drag mouse)
Ctrl+Shift+Enter Insert line above
Ctrl+Shift+Alt Column (box) selection
Ctrl+Shift+\ Jump to matching bracket + (arrow key)
Ctrl+] / [ Indent/outdent line Ctrl+Shift+Alt Column (box) selection page up/down
Home / End Go to beginning/end of line +PgUp/PgDn
Ctrl+Home Go to beginning of file
Ctrl+End Go to end of file
Rich languages editing
Ctrl+↑ / ↓ Scroll line up/down
Alt+PgUp / PgDn Scroll page up/down Ctrl+Space Trigger suggestion
Ctrl+Shift+[ Fold (collapse) region Ctrl+Shift+Space Trigger parameter hints
Ctrl+Shift+] Unfold (uncollapse) region Shift+Alt+F Format document
Ctrl+K Ctrl+[ Fold (collapse) all subregions Ctrl+K Ctrl+F Format selection
Ctrl+K Ctrl+] Unfold (uncollapse) all subregions F12 Go to Definition
Ctrl+K Ctrl+0 Fold (collapse) all regions Alt+F12 Peek Definition
Ctrl+K Ctrl+J Unfold (uncollapse) all regions Ctrl+K F12 Open Definition to the side
Ctrl+K Ctrl+C Add line comment Ctrl+. Quick Fix
Ctrl+K Ctrl+U Remove line comment Shift+F12 Show References
Ctrl+/ Toggle line comment F2 Rename Symbol
Shift+Alt+A Toggle block comment Ctrl+K Ctrl+X Trim trailing whitespace
Alt+Z Toggle word wrap Ctrl+K M Change file language

Navigation Editor management


Ctrl+T Show all Symbols Ctrl+F4, Ctrl+W Close editor
Ctrl+G Go to Line... Ctrl+K F Close folder
Ctrl+P Go to File... Ctrl+\ Split editor
Ctrl+Shift+O Go to Symbol... Ctrl+ 1 / 2 / 3 Focus into 1st, 2nd or 3rd editor group
Ctrl+Shift+M Show Problems panel Ctrl+K Ctrl+ ←/→ Focus into previous/next editor group
F8 Go to next error or warning Ctrl+Shift+PgUp / PgDn Move editor left/right
Shift+F8 Go to previous error or warning Ctrl+K ← / → Move active editor group
Ctrl+Shift+Tab Navigate editor group history
Alt+ ← / → Go back / forward
Ctrl+M Toggle Tab moves focus

You might also like