Visual Studio Code

Shortcuts

  • General
KeysFunction
Ctrl + Shift + P / F1Show Command Palette
Ctrl + PQuick Open, Go to File...
Ctrl + ,User Settings
Ctrl + Shift + EShow Explorer
Ctrl + Shift + G GShow Source Control panel
  • Basic Editing
KeysFunction
Ctrl + ]/[Indent/Outdent line
Ctrl + /Toggle line comment
  • Navigation
KeysFunction
Ctrl + TShow all Symbols
Ctrl + GGo to Line...
Ctrl + PGo to File...
Ctrl + Shift + OGo to Symbol...
Alt + →/←Go back/forward
Ctrl + Alt + →/←Move the current tab to right/left group
Ctrl + Shift + FSearch in files

Tips

  • Read output from stdin

    kubectl cluster-info dump | code -

  • Change syntax highlighting of the current editor

    • Ctrl + Shift + P
    • Type Change Language Mode
    • Choose the type you want