VS Code Editor configuration backup

Install plug-ins:

  • atom one dark theme
  • atom one light theme
  • Chinese
  • css formatter
  • document this
  • ESLint
  • live server
  • open in browser
  • prettier -Code formatter
  • winter
  • vue 2 Snippets

Install fonts:

Fira Code

Profile Editor

{
  "javascript.format.semicolons": "remove",
  "typescript.format.semicolons": "remove",
  "prettier.semi": false,
  "prettier.singleQuote": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "[javascript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.detectIndentation": false,
  "editor.tabSize": 2,
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "vue",
      "autoFix": true,
      "prettier.semi": false,
      "prettier.singleQuote": true,
    }
  ],

  "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "force-aligned"
    },
    "prettier": {
      "semi": false, 
      "singleQuote": true 
    }
  },
  "editor.fontFamily": "'Fira Code',Consolas, 'Courier New', monospace",
  "editor.fontSize": 16,
  "editor.lineHeight": 32,
  "workbench.colorTheme": "Atom One Dark"
}

Guess you like

Origin www.cnblogs.com/xiangbei400G/p/12038908.html