Visual Studio Code keyboard shortcut cheat sheet

I recently starting playing with the new cross-platform editor from Microsoft, Visual Studio Code.  This editor has a lot of cool new features.  But to really be productive with any tool you need to know the keyboard shortcuts.  So below is a cheat sheet from what I have been able to discover so far.

Keyboard Shortcut

Action

Alt + Click

add additional cursor

Alt + F12

peek definition

Alt + F4

close window

Alt + Left

navigate between files

Alt + Right

navigate between files

Ctrl + /

split active editor

Ctrl + `

cycle open editors

Ctrl + =

zoom in

Ctrl + -

zoom out

Ctrl + 1

focus left editor

Ctrl + 2

focus right editor

Ctrl + Alt + ]

jump to matching bracket

Ctrl + Alt + click

open definition to side

Ctrl + Alt + Down

add cursor below

Ctrl + Alt + Up

add cursor up

Ctrl + B

toggle sidebar

Ctrl + Click

open file to side

Ctrl + Click

go to definition

Ctrl + E

go to  file

Ctrl + Enter

open file to side

Ctrl + F12

go to definition

Ctrl + F2

add cursor to each occurrence of current word

Ctrl + G

go to line

Ctrl + Shift + D

debug

Ctrl + Shift + E

explore

Ctrl + Shift + F

search all files

Ctrl + Shift + I

shows windows

Ctrl + Shift + J

advanced search all files

Ctrl + Shift + L

add cursor to each occurrence of current selected text

Ctrl + Shift + M

list all current errors

Ctrl + shift + O

navigate to symbol

Ctrl + Shift + P

open control pallet

Ctrl + Shift + U

output

Ctrl + Shift + W

close window

Ctrl + Space

trigger IntelliSense

Ctrl + T

jump to symbol across files

Ctrl + Tab

cycle files

Ctrl + W

close editor

F2

rename symbol

F11

full screen

Shift + F12

reference search

 

Comments (9) -

  • Wes

    5/21/2015 7:27:58 AM | Reply

    You can press CTRL+t and search for "Default Keyboard Shortcuts" and you'll get a file that has all available keyboard shortcuts

    • on606

      10/14/2015 10:02:02 PM | Reply

      Not working for me. I get 'no symbols matching'. ?

      • Mike Graham

        7/5/2016 9:16:21 AM | Reply

        <F1> to open the command palette
        >Key shows "Preferences: Open Keyboard Shortcuts"

        which will open the keyboard shortcuts Smile

  • ASHA

    11/19/2015 1:43:57 PM | Reply

    Hi..
    what is the keyboard shortcut to execute a package in sis?

  • Vinamis

    7/25/2017 5:42:55 AM | Reply

    CTRL+SHIFT+B to run code

  • smaith

    2/19/2018 7:49:17 AM | Reply

    lol i here

Add comment

Loading