Windows/Linux: Ctrl = Control key, Alt = Alt key, Shift = Shift key
macOS: Cmd = Command key (⌘), Alt = Option key (⌥), Shift = Shift key (⇧)
💡 Tip: Access all commands with Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
# Multi-cursor example
const user| = "John";
const user| = "Jane";
const user| = "Bob";
// Edit all at once!
# Quick snippets:
rafce → React Arrow Function Component Export
usf → useState Hook
uef → useEffect Hook
{
// Editor Settings
"editor.fontSize": 14,
"editor.tabSize": 2,
"editor.wordWrap": "on",
"editor.minimap.enabled": true,
"editor.formatOnSave": true,
"editor.formatOnPaste": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.linkedEditing": true,
"editor.bracketPairColorization.enabled": true,
// Terminal
"terminal.integrated.fontSize": 14,
// Files
"files.autoSave": "onFocusChange",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
// Prettier
"prettier.singleQuote": true,
"prettier.semi": true,
"prettier.tabWidth": 2,
// Emmet for JSX
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// Git
"git.autofetch": true,
"git.confirmSync": false,
// Explorer
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false
}| Command | Description |
|---|---|
> |
Show all commands |
@ |
Go to symbol in file |
# |
Go to symbol in workspace |
: |
Go to line number |
? |
Show help |
task |
Run tasks |
ext install |
Install extensions |
reload window |
Reload VS Code window |
zen mode |
Toggle zen mode |
theme |
Change color theme |