Android
Android Studio
HTML
CSS
Git
SVG
JavaScript
Python
React
Node.js
Express
WebGL
PHP
Mac
Mongo
Crypto
VSCode
Premiere
Recipe
Flutter
React
Web Development
Windows
Vscode Tutorials
    Just Another Ghost  @jst
    Writer at Learning Curve and generally just another ghost! Born of a earth and dust to create. Sooner or later everything we make will be destroyed.

    Visual Studio Code Keyboard Shortcuts For Windows

    Visual Studio Code Keyboard Shortcuts for Windows / vsc, vs code, keyboard shortcuts bindings for windows 10 win os
    Download Printable VSCode Keyboard Shortcuts PNG

    To allow even more keyboard shortcuts VSCode allows Second key of chord. This means you have to press the secondary key after original shortcut combination. In this guide when you see Ctrl+K Ctrl+S it's the same as Ctrl+K, then S. In this case "S" key is the second key of chord.

    Second Key Of Chord

    CommandShortcut
    Wait for second key of chord Ctrl + K followed by second key of chord

    General

    CommandShortcut
    Show Command Palette Ctrl+Shift+P, F1
    Quick Open, Go to File… Ctrl+P
    New window/instance Ctrl+Shift+N
    Close window/instance Ctrl+Shift+W
    User Settings Ctrl+,
    Keyboard Shortcuts Ctrl+K Ctrl+S

    Basic editing

    Cut line (empty selection)Ctrl+X
    Copy line (empty selection)Ctrl+C
    Move line up/downAlt+ ↑ / ↓
    Copy line up/downShift+Alt + ↓ / ↑
    Delete lineCtrl+Shift+K
    Insert line belowCtrl+Enter
    Insert line aboveCtrl+Shift+Enter
    Jump to matching bracketCtrl+Shift+
    Indent/outdent lineCtrl+] / [
    Go to beginning/end of lineHome / End
    Go to beginning of fileCtrl+Home
    Go to end of fileCtrl+End
    Scroll line up/downCtrl+↑ / ↓
    Scroll page up/downAlt+PgUp / PgDn
    Fold (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+0
    Unfold (uncollapse) all regionsCtrl+K Ctrl+J
    Add line commentCtrl+K Ctrl+C
    Remove line commentCtrl+K Ctrl+U
    Toggle line commentCtrl+/
    Toggle block commentShift+Alt+A
    Toggle word wrapAlt+Z

    Navigation

    Show all SymbolsCtrl+T
    Go to Line...Ctrl+G
    Go to File...Ctrl+P
    Go to Symbol...Ctrl+Shift+O
    Show Problems panelCtrl+Shift+M
    Go to next error or warningF8
    Go to previous error or warningShift+F8
    Navigate editor group historyCtrl+Shift+Tab
    Go back / forwardAlt+ ← / →
    Toggle Tab moves focusCtrl+M

    Search and replace

    FindCtrl+F
    ReplaceCtrl+H
    Find next/previousF3 / Shift+F3
    Select all occurences of Find matchAlt+Enter
    Add selection to next Find matchCtrl+D
    Move last selection to next Find matchCtrl+K Ctrl+D
    Toggle case-sensitive / regex / whole wordAlt+C / R / W

    Multi-cursor and selection

    Insert cursorAlt+Click
    Insert cursor above / belowCtrl+Alt+ ↑ / ↓
    Undo last cursor operationCtrl+U
    Insert cursor at end of each line selectedShift+Alt+I
    Select current lineCtrl+L
    Select all occurrences of current selectionCtrl+Shift+L
    Select all occurrences of current wordCtrl+F2
    Expand 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/PgDn

    Rich languages editing

    Trigger suggestionCtrl+Space
    Trigger parameter hintsCtrl+Shift+Space
    Format documentShift+Alt+F
    Format selectionCtrl+K Ctrl+F
    Go to DefinitionF12
    Peek DefinitionAlt+F12
    Open Definition to the sideCtrl+K F12
    Quick FixCtrl+.
    Show ReferencesShift+F12
    Rename SymbolF2
    Trim trailing whitespaceCtrl+K Ctrl+X
    Change file languageCtrl+K M

    Editor management

    Close editorCtrl+F4, Ctrl+W
    Close folderCtrl+K F
    Split editorCtrl+
    Focus into 1st, 2nd or 3rd editor groupCtrl+ 1 / 2 / 3
    Focus into previous/next editor groupCtrl+K Ctrl+ ←/→
    Move editor left/rightCtrl+Shift+PgUp / PgDn
    Move active editor groupCtrl+K ← / →

    File management

    New FileCtrl+N
    Open File...Ctrl+O
    SaveCtrl+S
    Save As...Ctrl+Shift+S
    Save AllCtrl+K S
    CloseCtrl+F4
    Close AllCtrl+K Ctrl+W
    Reopen closed editorCtrl+Shift+T
    Keep preview mode editor openCtrl+K Enter
    Open nextCtrl+Tab
    Open previousCtrl+Shift+Tab
    Copy path of active fileCtrl+K P
    Reveal active file in ExplorerCtrl+K R
    Show active file in new window/instanceCtrl+K O

    Display

    Toggle full screenF11
    Toggle editor layout (horizontal/vertical)Shift+Alt+0
    Zoom in/outCtrl+ = / -
    Toggle Sidebar visibilityCtrl+B
    Show Explorer / Toggle focusCtrl+Shift+E
    Show SearchCtrl+Shift+F
    Show Source ControlCtrl+Shift+G
    Show DebugCtrl+Shift+D
    Show ExtensionsCtrl+Shift+X
    Replace in filesCtrl+Shift+H
    Toggle Search detailsCtrl+Shift+J
    Show Output panelCtrl+Shift+U
    Open Markdown previewCtrl+Shift+V
    Open Markdown preview to the sideCtrl+K V
    Zen Mode (Esc Esc to exit)Ctrl+K Z

    Debug

    Toggle breakpointF9
    Start/ContinueF5
    StopShift+F5
    Step into/outF11 / Shift+F11
    Step overF10
    Show hoverCtrl+K Ctrl+I

    Integrated terminal

    Show integrated terminalCtrl+`
    Create new terminalCtrl+Shift+`
    Copy selectionCtrl+C
    Paste into active terminalCtrl+V
    Scroll up/downCtrl+↑ / ↓
    Scroll page up/downShift+PgUp / PgDn
    Scroll to top/bottomCtrl+Home / End
    Add or Modify Keyboard Shortcut
    (how to add your own vsc keyboard shortcut)
    Ctrl + K then S

    This is the equivalent of original Microsoft VSCode PDF file.

    Write For Us
    Sign Up Now  -  It's Free!
    © 2021
    DM Coming Soon
    f f