VS Code shortcuts practice
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.
Getting started
- Just learned
- Recalling
- Steady
- Quick
- Fluent
- Second nature
- Learned
- 0
- Due now
- 0
- New
- 0
- Streak
- 0
Lessons
- 1General
Show Command PaletteQuick Open, go to fileNew windowClose windowOpen User SettingsOpen the keybindings editorOpen Microsoft's shortcut reference
- 2Basic editing, part 1
Cut line (empty selection)Copy line (empty selection)Move line downMove line upCopy line downCopy line upDelete lineInsert line belowInsert line above
- 3Basic editing, part 2
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
- 4Basic editing, part 3
Scroll page upScroll page downFold (collapse) regionUnfold (uncollapse) regionToggle foldFold all subregionsUnfold all subregionsFold all regionsUnfold all regions
- 5Basic editing, part 4
Fold all block commentsAdd line commentRemove line commentToggle line commentToggle block commentToggle word wrap
- 6Navigation
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
- 7Search and replace
FindReplaceFind nextFind previousSelect all occurrences of find matchToggle case-sensitiveToggle regexToggle whole word
- 8Multi-cursor and selection, part 1
Insert cursor aboveInsert cursor belowUndo last cursor operationInsert cursor at end of each selected lineSelect current lineSelect all occurrences of current selection
- 9Multi-cursor and selection, part 2
Add selection to next find matchSelect allExpand selectionShrink selectionColumn (box) selection down
- 10Rich languages editing, part 1
Trigger suggestionTrigger parameter hintsFormat documentFormat selectionGo to definitionPeek definition
- 11Rich languages editing, part 2
Open definition to the sideQuick FixShow referencesRename symbolTrim trailing whitespaceChange file language
- 12Editor management
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
- 13File management, part 1
Open folderNew fileOpen fileSaveSave asSave allClose all editors
- 14File management, part 2
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
- 15Display, part 1
Toggle full screenToggle Zen ModeZoom inZoom outToggle Sidebar visibilityShow ExplorerShow SearchShow Source ControlShow Run and Debug
- 16Display, part 2
Show ExtensionsReplace in filesToggle Search detailsShow Output panelToggle panelShow Debug ConsoleOpen Markdown previewOpen Markdown preview to the side
- 17Debug
Toggle breakpointStart or continue debuggingStart without debuggingStop debuggingStep intoStep outStep overShow hover
- 18Integrated terminal
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.