vscode setting.json

setting.json

{
  "sync.gist": "#github的码##",
  "sync.lastUpload": "2018-08-26T06:45:07.435Z",
  "sync.autoDownload": false,
  "sync.autoUpload": false,
  "sync.lastDownload": "2018-05-15T06:30:38.965Z",
  "sync.forceDownload": false,
  "sync.host": "",
  "sync.pathPrefix": "",
  "sync.quietSync": false,
  "sync.askGistName": false,
  "sync.removeExtensions": true,
  "sync.syncExtensions": true,
  "editor.fontSize": 16,
  "workbench.colorTheme": "Dracula Soft",
  "view-in-browser.customBrowser": "chrome",
  "explorer.confirmDragAndDrop": false,
  "explorer.confirmDelete": false,
  "[vue]": {},
  "background.useDefault": false,
  "background.customImages": [
    "file:///D:/bg1.jpg",
    "file:///D:/bg2.jpg",
    "file:///D:/bg3.jpg"
  ],
  "background.style": {
    "content": "''",
    "pointer-events": "none",
    "position": "absolute",
    "z-index": "99999",
    "width": "100%",
    "height": "100%",
    "background-color": "#282A36",
    "background-position": "100% 100%",
    "background-repeat": "no-repeat",
    "opacity": 0.9
  },
  "background.useFront": false,
  "window.zoomLevel": 0,
  "search.location": "sidebar",
  "workbench.activityBar.visible": true,
  "window.menuBarVisibility": "toggle",
  "search.exclude": {
    "**/node_modules": true,
    "**/dist": true,
    "**/bower_components": true
  },
  "terminal.integrated.shell.windows": "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe",
  "git.ignoredRepositories": [
    "https://github.com/iview/iview-admin"
  ],
  "git.checkoutType": "local",
  "git.autoRepositoryDetection": false,
  "git.autorefresh": false,
  "editor.detectIndentation": false,
  "editor.formatOnSave": true,
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "prettier.eslintIntegration": true,
  "prettier.semi": false,
  "prettier.singleQuote": true,
  "javascript.format.insertSpaceBeforeFunctionParenthesis": true,
  "vetur.format.defaultFormatter.js": "vscode-typescript",
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      "wrap_attributes": "force-aligned"
    },
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false
    }
  },
  "editor.tabSize": 2,
  "todo-tree.defaultHighlight": {
    "foreground": "green",
    "type": "none"
  },
  "todo-tree.customHighlight": {
    "TODO": {},
    "FIXME": {}
  },
  "workbench.iconTheme": "vscode-icons",
  "git.autofetch": true,
  "git.enableSmartCommit": true,
  "git.confirmSync": false,
  "vetur.validation.template": false,
  "vetur.format.defaultFormatter.html": "js-beautify-html"
  // "terminal.integrated.shell.windows": "D:\cmder\Cmder.exe"
}

我以前不好用的 但是颜色比较喜欢的黑色的

{
    "window.zoomLevel": 2,
    "workbench.iconTheme": "vscode-icons",
    "terminal.integrated.shell.windows": "C:\WINDOWS\System32\cmd.exe",
    "editor.tabSize": 2,
    "vetur.validation.template": false,
    "vetur.format.defaultFormatter.js": "vscode-typescript",
    "[vue]": {},
    "emmet.includeLanguages": {
        "vue": "html",
        "vue-html": "html"
    },
    "files.associations": {
        "*.vue": "html"
    },
    "editor.quickSuggestions": {
        "other": true,
        "comments": true,
        "strings": true
    },

    //配置eslint
    "eslint.autoFixOnSave": true,
    "files.autoSave": "off",
    "eslint.validate": [
        "javascript",
        "javascriptreact",
        "html",
        {
            "language": "vue",
            "autoFix": true
        }
    ],
    "eslint.options": {
        "plugins": ["html"]
    },
    "search.exclude": {
        "**/node_modules": true,
        "**/bower_components": true,
        "**/dist": true
      }




}
原文地址:https://www.cnblogs.com/pengchenggang/p/10345791.html