ReferenceVisual Studio CodeWindowsOn this pageVSCode Keyboard Shortcuts (Windows)GeneralShow Command PaletteCtrl+Shift+P, F1Quick Open, Go to File …Ctrl+PNew window/instanceCtrl+Shift+NClose window/instanceCtrl+Shift+WUser SettingsCtrl+,Keyboard ShortcutsCtrl+K Ctrl+SBasic editingCut line (empty selection)Ctrl+XCopy line (empty selection)Ctrl+CMove line down/upAlt+ ↑ / ↓Copy line down/upShift+Alt + ↓ / ↑Delete lineCtrl+Shift+KInsert line belowCtrl+EnterInsert line aboveCtrl+Shift+EnterJump to matching bracketCtrl+Shift+\Indent/outdent lineCtrl+] / [Go to beginning/end of lineHome / EndGo to beginning of fileCtrl+HomeGo to end of fileCtrl+EndScroll line up/downCtrl+↑ / ↓Scroll page up/downAlt+PgUp / PgDnFold (collapse) regionCtrl+Shift+[Unfold (uncollapse) regionCtrl+Shift+]Fold (collapse) all subregionsCtrl+K Ctrl+[Unfold (uncollapse) all subregionsCtrl+K Ctrl+]Fold (collapse) all regionsCtrl+K Ctrl+0Unfold (uncollapse) all regionsCtrl+K Ctrl+JAdd line commentCtrl+K Ctrl+CRemove line commentCtrl+K Ctrl+UToggle line commentCtrl+/Toggle block commentShift+Alt+AToggle word wrapAlt+ZMulti-cursor and selectionInsert cursorAlt+ClickInsert cursor above / belowCtrl+Alt+ ↑ / ↓Undo last cursor operationCtrl+UInsert cursor at end of each line selectedShift+Alt+ISelect current lineCtrl+LSelect all occurrences of current selectionCtrl+Shift+LSelect all occurrences of current wordCtrl+F2Expand selectionShift+Alt+→Shrink selectionShift+Alt+←Column (box) selectionShift+Alt + (drag mouse)Column (box) selectionCtrl+Shift+Alt + (arrow key)Column (box) selection page up/downCtrl+Shift+Alt+PgUp/PgDnSearch and replaceFindCtrl+FReplaceCtrl+HFind next/previousF3 / Shift+F3Select all occurrences of Find matchAlt+EnterAdd selection to next Find matchCtrl+DMove last selection to next Find matchCtrl+K Ctrl+DToggle case-sensitive / regex / whole wordAlt+C / R / WRich languages editingTrigger suggestionCtrl+SpaceTrigger parameter hintsCtrl+Shift+SpaceFormat documentShift+Alt+FFormat selectionCtrl+K Ctrl+FGo to DefinitionF12Peek DefinitionAlt+F12Open Definition to the sideCtrl+K F12Quick FixCtrl+.Show ReferencesShift+F12Rename SymbolF2Trim trailing whitespaceCtrl+K Ctrl+XChange file languageCtrl+K MNavigationShow all SymbolsCtrl+TGo to Line...Ctrl+GGo to File...Ctrl+PGo to Symbol...Ctrl+Shift+OShow Problems panelCtrl+Shift+MGo to next error or warningF8Go to previous error or warningShift+F8Navigate editor group historyCtrl+Shift+TabGo back/forwardAlt+ ← / →Toggle Tab moves focusCtrl+MEditor managementClose editorCtrl+F4, Ctrl+WClose folderCtrl+K FSplit editorCtrl+\Focus into 1st, 2nd, 3rd editor groupCtrl+ 1 / 2 / 3Focus into previous/next editor groupCtrl+K Ctrl+ ←/→Move editor left/rightCtrl+Shift+PgUp / PgDnMove active editor groupCtrl+K ← / →File managementNew FileCtrl+NOpen File...Ctrl+OSaveCtrl+SSave As...Ctrl+Shift+SSave AllCtrl+K SCloseCtrl+F4Close AllCtrl+K Ctrl+WReopen closed editorCtrl+Shift+TKeep preview mode editor openCtrl+K EnterOpen nextCtrl+TabOpen previousCtrl+Shift+TabCopy path of active fileCtrl+K PReveal active file in ExplorerCtrl+K RShow active file in new window/instanceCtrl+K ODisplayToggle full screenF11Toggle editor layout (horizontal/vertical)Shift+Alt+0Zoom in/outCtrl+ = / -Toggle Sidebar visibilityCtrl+BShow Explorer / Toggle focusCtrl+Shift+EShow SearchCtrl+Shift+FShow Source ControlCtrl+Shift+GShow DebugCtrl+Shift+DShow ExtensionsCtrl+Shift+XReplace in filesCtrl+Shift+HToggle Search detailsCtrl+Shift+JShow Output panelCtrl+Shift+UOpen Markdown previewCtrl+Shift+VOpen Markdown preview to the sideCtrl+K VZen Mode (Esc Esc to exit)Ctrl+K ZDebugToggle breakpointF9Start/ContinueF5StopShift+F5Step into/ outF11 / Shift+F11Step overF10Show hoverCtrl+K Ctrl+IIntegrated terminalShow integrated terminalCtrl+`Create new terminalCtrl+Shift+`Copy selectionCtrl+CPaste into active terminalCtrl+VScroll up/downCtrl+↑ / ↓Scroll page up/downShift+PgUp / PgDnScroll to top/bottomCtrl+Home / End