./Keyboard Shortcuts/Visual Studio Code/

Basic Editing

KeyCommand
Ctrl+XCut line (empty selection)
Ctrl+CCopy line (empty selection)
Ctrl+VPaste
Ctrl+Shift+KDelete Line
Ctrl+EnterInsert Line Below
Ctrl+Shift+EnterInsert Line Above
Alt+DownMove Line Down
Alt+UpMove Line Up
Shift+Alt+DownCopy Line Down
Shift+Alt+UpCopy Line Up
Ctrl+ZUndo
Ctrl+YRedo
Ctrl+DAdd Selection To Next Find Match
Ctrl+K Ctrl+DMove Last Selection To Next Find Match
Ctrl+UUndo last cursor operation
Shift+Alt+IInsert cursor at end of each line selected
Ctrl+Shift+LSelect all occurrences of current selection
Ctrl+F2Select all occurrences of current word
Ctrl+LSelect current line
Ctrl+Alt+DownInsert Cursor Below
Ctrl+Alt+UpInsert Cursor Above
Ctrl+Shift+\Jump to matching bracket
Ctrl+]Indent Line
Ctrl+[Outdent Line
HomeGo to Beginning of Line
EndGo to End of Line
Ctrl+EndGo to End of File
Ctrl+HomeGo to Beginning of File
Ctrl+DownScroll Line Down
Ctrl+UpScroll Line Up
Alt+PageDownScroll Page Down
Alt+PageUpScroll Page Up
Ctrl+Shift+[Fold (collapse) region
Ctrl+Shift+]Unfold (uncollapse) region
Ctrl+K Ctrl+[Fold (collapse) all subregions
Ctrl+K Ctrl+]Unfold (uncollapse) all subregions
Ctrl+K Ctrl+0Fold (collapse) all regions
Ctrl+K Ctrl+JUnfold (uncollapse) all regions
Ctrl+K Ctrl+CAdd Line Comment
Ctrl+K Ctrl+URemove Line Comment
Ctrl+/Toggle Line Comment
Shift+Alt+AToggle Block Comment
Ctrl+FFind
Ctrl+HReplace
EnterFind Next
Shift+EnterFind Previous
Alt+EnterSelect All Occurrences of Find Match
Alt+CToggle Find Case Sensitive
Alt+RToggle Find Regex
Alt+WToggle Find Whole Word
Ctrl+MToggle Use of Tab Key for Setting Focus
Alt+ZToggle Word Wrap

Rich Languages Editing

KeyCommand
Ctrl+SpaceTrigger Suggest
Ctrl+Shift+SpaceTrigger Parameter Hints
Shift+Alt+FFormat Document
Ctrl+K Ctrl+FFormat Selection
F12Go to Definition
Ctrl+K Ctrl+IShow Hover
Alt+F12Peek Definition
Ctrl+K F12Open Definition to the Side
Ctrl+.Quick Fix
Shift+F12Go to References
F2Rename Symbol
Ctrl+Shift+.Replace with Next Value
Ctrl+Shift+,Replace with Previous Value
Shift+Alt+RightExpand AST Selection
Shift+Alt+LeftShrink AST Selection
Ctrl+K Ctrl+XTrim Trailing Whitespace
Ctrl+K MChange Language Mode
KeyCommand
Ctrl+TShow All Symbols
Ctrl+GGo to Line...
Ctrl+PGo to File..., Quick Open
Ctrl+Shift+OGo to Symbol...
Ctrl+Shift+MShow Problems
F8Go to Next Error or Warning
Shift+F8Go to Previous Error or Warning
Ctrl+Shift+P or F1Show All Commands
Ctrl+TabNavigate Editor Group History
Alt+LeftGo Back
Alt+LeftGo back in Quick Input
Alt+RightGo Forward

Editor/Window Management

KeyCommand
Ctrl+Shift+NNew Window
Alt+F4Close Window
Ctrl+F4Close Editor
Ctrl+K FClose Folder
Ctrl+\Split Editor
Ctrl+1Focus into First Editor Group
Ctrl+2Focus into Second Editor Group
Ctrl+3Focus into Third Editor Group
Ctrl+Shift+PageUpMove Editor Left
Ctrl+Shift+PageDownMove Editor Right
Ctrl+K LeftMove Active Editor Group Left
Ctrl+K RightMove Active Editor Group Right
Ctrl+Alt+RightMove Editor into Next Group
Ctrl+Alt+LeftMove Editor into Previous Group

File Management

KeyCommand
Ctrl+NNew File
Ctrl+OOpen File...
Ctrl+SSave
Ctrl+K SSave All
Ctrl+Shift+SSave As...
Ctrl+F4Close
Ctrl+K WClose Group
Ctrl+K Ctrl+WClose All
Ctrl+Shift+TReopen Closed Editor
Ctrl+K EnterKeep Open
Ctrl+K PCopy Path of Active File
Ctrl+K RReveal Active File in Windows
Ctrl+K OShow Opened File in New Window

Display

KeyCommand
F11Toggle Full Screen
Ctrl+K ZToggle Zen Mode
Escape EscapeLeave Zen Mode
Ctrl+=Zoom in
Ctrl+-Zoom out
Ctrl+Numpad0Reset Zoom
Ctrl+BToggle Sidebar Visibility
Ctrl+Shift+EShow Explorer / Toggle Focus
Ctrl+Shift+FShow Search
Ctrl+Shift+GShow Source Control
Ctrl+Shift+DShow Run
Ctrl+Shift+XShow Extensions
Ctrl+Shift+UShow Output
Ctrl+QQuick Open View
Ctrl+Shift+COpen New Command Prompt
Ctrl+Shift+VToggle Markdown Preview
Ctrl+K VOpen Preview to the Side
Ctrl+`Toggle Integrated Terminal
KeyCommand
Ctrl+Shift+FShow Search
Ctrl+Shift+HReplace in Files
Alt+CToggle Match Case
Alt+WToggle Match Whole Word
Alt+RToggle Use Regular Expression
Ctrl+Shift+JToggle Search Details
F4Focus Next Search Result
Shift+F4Focus Previous Search Result
DownShow Next Search Term
UpShow Previous Search Term

Search Editor

KeyCommand
Alt+EnterOpen Results In Editor
EscapeFocus Search Editor Input
Ctrl+Shift+RSearch Again
Ctrl+Shift+BackspaceDelete File Results

Preferences

KeyCommand
Ctrl+,Open Settings
Ctrl+K Ctrl+SOpen Keyboard Shortcuts
Ctrl+K Ctrl+TSelect Color Theme

Debug

KeyCommand
F9Toggle Breakpoint
F5Start
F5Continue
Ctrl+F5Start (without debugging)
F6Pause
F11Step Into

Tasks

KeyCommand
Ctrl+Shift+BRun Build Task