This is an old revision of the document!
VS Code
Keyboard Shortcuts
Ctrl + shift + p
, command paletteCtrl + r
, open recently opened files/foldersCtrl + shift + o
, go to symbol in file (e.g. function)Ctrl + b
, open/close side panelCtrl + j
, open/close bottom panelCtrl + Shift + e
, open editor panelCtrl + Shift + g
, open Git panel
Alt + z
, toggle line wrapCtrl + `
, open terminalAlt + Shift + F
, format/pretty print the entire documentCtrl + K Ctrl F
, format/pretty print the selected textCtrl + /
, comment/uncomment selected text (block comment)
Ctrl + Shift + \
, jump to matching bracket
Customized Shortcuts
- Show/hide left sidebar,
Alt + 1
- Show/hide bottom panel,
Alt + 4
- Show/hide file explorer panel,
Alt + 2
- Show/hide file source control,
Alt + 3
Debugging
launch.json
Extensions
- Insert Date String
File Properties Viewer
Shows file metadata like the path to the file.
- Bind to keyboard shortcut
Alt + Shift + p
Background
Allows you to put an image in the background of the editor area for aesthetic purposes.