Skip to content
Snippets Groups Projects

VS Code settings

User settings

To add in the settings.json of Vscode IDE:

{
    "editor.snippetSuggestions": "top",
    "editor.tabSize": 2,
    "editor.formatOnSave": true,
    "diffEditor.ignoreTrimWhitespace": false,
    "window.zoomLevel": 0,
    "gitlens.advanced.messages": {
        "suppressShowKeyBindingsNotice": true
    },
    "breadcrumbs.enabled": true,
    "workbench.settings.editor": "json",
    "typescript.updateImportsOnFileMove.enabled": "always",
    "css.validate": false,
    "less.validate": false,
    "scss.validate": false,
    "stylelint.enable": true,
}

Some important plugins to install

  • stylelint
  • Beautify
  • TSLint
  • Angular Language Service

Beautify (formatter) & stylelint (linter) settings

The rules of these are inside 2 files at the root of the project: .stylelintrc and .jsbeautifyrc.