Skip to main content

VS Code

Keyboard shortcutsโ€‹

Keyboard shortcuts cheatsheet

Settingsโ€‹

Press โ‡งโŒ˜P to open the Command Palette, then choose Preferences: Open User Settings (JSON).

VS Code Settings docs

Format-on-saveโ€‹

Add the following to automatically format files whenever you save them:

    "editor.formatOnSave": true,

Hide files from viewโ€‹

Use files.exclude to hide files from the Explorer view:

    "files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"node_modules": true
}

Useful extensionsโ€‹