This is an old revision of the document!
VS Code
Keyboard Shortcuts
Ctrl + shift + p, command paletteCtrl + shift + f, search for string across all files in currently opened folderCtrl + r, open recently opened files/foldersCtrl + shift + o, go to symbol in current file (e.g. function)Ctrl + t, go to symbol in any file (e.g. function)Alt + <left arrow>, move to previous positionAlt + <right arrow>, move to next position
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 bracketAlt + z, wrap textCtrl + h, find and replace
F12, goto symbol definition of currently selected symbolShift + F12, go to symbol references of currently selected symbol
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.