Skip to content

↑↓ moveEnter openEsc close

VS Code shortcuts practice

VS Code 1.96 · 138 shortcuts · checked Nov 2026 · Source: Microsoft docs

Learn VS Code shortcuts by pressing them on your own keyboard, one short lesson at a time.

138 shortcuts in 18 lessons. Your progress is kept in this browser.

Lessons

  1. 1General7 shortcuts

    Show Command PaletteQuick Open, go to fileNew windowClose windowOpen User SettingsOpen the keybindings editorOpen Microsoft's shortcut reference

  2. 2Basic editing, part 19 shortcuts

    Cut line (empty selection)Copy line (empty selection)Move line downMove line upCopy line downCopy line upDelete lineInsert line belowInsert line above

  3. 3Basic editing, part 29 shortcuts

    Jump to matching bracketIndent lineOutdent lineGo to beginning of lineGo to end of lineGo to beginning of fileGo to end of fileScroll line upScroll line down

  4. 4Basic editing, part 39 shortcuts

    Scroll page upScroll page downFold (collapse) regionUnfold (uncollapse) regionToggle foldFold all subregionsUnfold all subregionsFold all regionsUnfold all regions

  5. 5Basic editing, part 46 shortcuts

    Fold all block commentsAdd line commentRemove line commentToggle line commentToggle block commentToggle word wrap

  6. 6Navigation10 shortcuts

    Show all symbolsGo to lineGo to symbol in fileShow Problems panelGo to next error or warningGo to previous error or warningNavigate editor group historyGo backGo forwardToggle Tab moves focus

  7. 7Search and replace8 shortcuts

    FindReplaceFind nextFind previousSelect all occurrences of find matchToggle case-sensitiveToggle regexToggle whole word

  8. 8Multi-cursor and selection, part 16 shortcuts

    Insert cursor aboveInsert cursor belowUndo last cursor operationInsert cursor at end of each selected lineSelect current lineSelect all occurrences of current selection

  9. 9Multi-cursor and selection, part 25 shortcuts

    Add selection to next find matchSelect allExpand selectionShrink selectionColumn (box) selection down

  10. 10Rich languages editing, part 16 shortcuts

    Trigger suggestionTrigger parameter hintsFormat documentFormat selectionGo to definitionPeek definition

  11. 11Rich languages editing, part 26 shortcuts

    Open definition to the sideQuick FixShow referencesRename symbolTrim trailing whitespaceChange file language

  12. 12Editor management10 shortcuts

    Close editorClose folderSplit editorFocus into 1st, 2nd or 3rd editor groupFocus into previous editor groupFocus into next editor groupMove editor leftMove editor rightMove active editor group leftMove active editor group right

  13. 13File management, part 17 shortcuts

    Open folderNew fileOpen fileSaveSave asSave allClose all editors

  14. 14File management, part 27 shortcuts

    Reopen closed editorKeep preview mode editor openOpen next editorOpen previous editorCopy path of active fileReveal active file in Explorer or FinderShow active file in new window

  15. 15Display, part 19 shortcuts

    Toggle full screenToggle Zen ModeZoom inZoom outToggle Sidebar visibilityShow ExplorerShow SearchShow Source ControlShow Run and Debug

  16. 16Display, part 28 shortcuts

    Show ExtensionsReplace in filesToggle Search detailsShow Output panelToggle panelShow Debug ConsoleOpen Markdown previewOpen Markdown preview to the side

  17. 17Debug8 shortcuts

    Toggle breakpointStart or continue debuggingStart without debuggingStop debuggingStep intoStep outStep overShow hover

  18. 18Integrated terminal8 shortcuts

    Toggle integrated terminalCreate new terminalScroll up (terminal)Scroll down (terminal)Scroll page up (terminal)Scroll page down (terminal)Scroll to top (terminal)Scroll to bottom (terminal)

How practice works

Each lesson is up to ten VS Code shortcuts from one group. Press the keys on your own keyboard, or tap them on the keyboard on screen. Some combinations, such as Cmd+W, are kept by your browser or system; those are always tapped, so practising never closes your tab.

  • Learn shows each new shortcut once with its keys, then asks for it again without them. A small copy of VS Code sets each task up, and pressing the shortcut does the job in it. It schedules the next review.
  • Practice goes through a lesson at your own pace. Choose whether the keys show always, after three seconds or never. It does not change your review schedule.
  • Speed run asks for every shortcut in the lesson once, without hints, against the clock. Get 70% right first time to pass the lesson; your best time is kept.
  • Today's session brings back the shortcuts that are due for review, plus up to eight new ones.

Every shortcut climbs six levels as you recall it first time: just learned, recalling, steady, quick, fluent and second nature. Reviews space out from a day to six months; a miss drops it back two levels and brings it back within minutes. Progress is stored in this browser only, separately for each system.

To look a shortcut up instead, use the VS Code keyboard shortcuts list or print the VS Code cheat sheet.