美文网首页
vscode的settings.json配置样例

vscode的settings.json配置样例

作者: hui_he | 来源:发表于2019-10-10 10:25 被阅读0次
{
  "prettier.eslintIntegration": true,
  "window.zoomLevel": 1,
  "search.followSymlinks": false,
  "editor.formatOnSave": false,
  "editor.codeActionsOnSave": {
    // For ESLint
    "source.fixAll.eslint": true,
    // For TSLint
    "source.fixAll.tslint": true,
    // For Stylelint
    "source.fixAll.stylelint": true
  },
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    "html",
    "vue",
    "typescript",
    "typescriptreact"
  ],
  "emmet.syntaxProfiles": {
    "javascript": "jsx",
    "vue": "html",
    "vue-html": "html"
  },
  "editor.tabSize": 2,
  "files.associations": {
    "*.vue": "vue"
  },
  "eslint.options": {
    "extensions": [
      ".js",
      ".vue"
    ]
  },
  "search.exclude": {
    "**/node_modules": true,
    "**/bower_components": true,
    "**/dist": true
  },
  "git.confirmSync": false,
  "javascript.implicitProjectConfig.experimentalDecorators": true,
  "editor.renderWhitespace": "boundary",
  "editor.cursorBlinking": "smooth",
  "editor.minimap.enabled": true,
  "editor.minimap.renderCharacters": false,
  //"editor.fontFamily": "'Droid Sans Mono', 'Courier New', monospace, 'Droid Sans Fallback'",
  "window.title": "${dirty}${activeEditorMedium}${separator}${rootName}",
  "editor.codeLens": true,
  "editor.snippetSuggestions": "top",
  "editor.fontWeight": "normal",
  "stylelint.enable": true,
  "editor.fontSize": 16,
  "editor.rulers": [ //代码长度
    120
  ],
  "workbench.iconTheme": "vscode-icons",
  "workbench.colorTheme": "One Dark Pro", 
  "terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", //图标
}

相关文章

网友评论

      本文标题:vscode的settings.json配置样例

      本文链接:https://www.haomeiwen.com/subject/nydopctx.html