彭煜

导航

setting.json

 

{
  "workbench.colorCustomizations": {
    "[Default Light+]": {
      "editor.background": "#eff0e7"
    }
  },
  "editor.tokenColorCustomizations": {
    "[Default Light+]": {
      "comments": "#505c50",
      "strings": "#1b7913f5",
      "functions": "#1417db",
      "keywords": "#ff0a0a",
      "variables": "#d108c7",
      "textMateRules": []
    }
  },
  // VScode 文件搜索区域配置
  "search.exclude": {
    "**/dist": true,
    "**/build": true,
    "**/elehukouben": true,
    "**/.git": true,
    "**/.gitignore": true,
    "**/.svn": true,
    "**/.DS_Store": true,
    "**/.idea": true,
    "**/.vscode": false,
    "**/yarn.lock": true,
    "**/tmp": true
  },
  // 配置文件关联
  "files.associations": {
    "*.vue": "vue",
    "*.wxss": "css",
    "*.cjson": "jsonc",
    "*.wxs": "javascript",
    "*.html": "html",
    "*.lock": "plaintext",
    "*.ttf": "html",
    ".wxml": "html",
    "*.wxml": "wxml"
  },
  // 配置emmet是否启用tab展开缩写
  "emmet.triggerExpansionOnTab": true,
  "editor.tabSize": 2,
  // 配置emmet对文件类型的支持
  "emmet.syntaxProfiles": {
    "wxml": "html",
    "vue-html": "html",
    "vue": "html",
    "javascript": "javascriptreact",
    "xml": {
      "attr_quotes": "single"
    }
  },
  // 在react的jsx中添加对emmet的支持
  "emmet.includeLanguages": {
    "jsx-sublime-babel-tags": "javascriptreact",
    "javascript": "javascriptreact",
    "wxml": "html"
  },
  "window.zoomLevel": 1,
  "search.followSymlinks": false,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "html",
      "autoFix": true
    },
    {
      "language": "vue",
      "autoFix": true
    }
  ],
  "eslint.options": {
    "extensions": [
      ".js",
      ".vue"
    ]
  },
  "eslint.autoFixOnSave": true,
  "editor.formatOnType": true,
  "vetur.format.defaultFormatterOptions": {
    "js-beautify-html": {
      // force-aligned | force-expand-multiline
      "wrap_attributes": "force-aligned"
    },
    "prettyhtml": {
      "printWidth": 100,
      "singleQuote": false,
      "wrapAttributes": false,
      "sortAttributes": true
    },
    // --- 解决问题 ---
    "prettier": {
      "semi": false,
      "singleQuote": true,
      "eslintIntegration": true
    }
    // --- 解决问题 ---
  },
  "editor.fontFamily": "'Fira Code', Consolas, 'Microsoft YaHei', 'Courier New', monospace",
  // 由于性能原因,超过这个长度的行将不会被标记
  "editor.maxTokenizationLineLength": 20000,
  "liveServer.settings.donotShowInfoMsg": true,
  "workbench.editor.highlightModifiedTabs": true,
  "workbench.sideBar.location": "left",
  "editor.foldingStrategy": "indentation",
  "minapp-vscode.disableAutoConfig": true,
  "files.autoSave": "afterDelay",
  "[html]": {
    "editor.defaultFormatter": "vscode.html-language-features"
  },
  "[javascript]": {
    "editor.defaultFormatter": "vscode.typescript-language-features"
  },
  "editor.formatOnSave": true,
  "diffEditor.renderSideBySide": false,
  "diffEditor.ignoreTrimWhitespace": true,
  "[wxml]": {},
  "workbench.iconTheme": "vscode-icons",
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  },
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
  "vsicons.dontShowNewVersionMessage": true,
  "editor.fontSize": 12,
  "gitlens.gitCommands.skipConfirmations": [
    "fetch:command",
    "switch:command"
  ],
  "gitlens.advanced.messages": {
    "suppressCommitHasNoPreviousCommitWarning": true
  },
  "workbench.colorTheme": "One Dark Pro",
  "[css]": {
    "editor.defaultFormatter": "HookyQR.beautify"
  }
}

  

倩影

 

posted on 2020-05-04 19:08  彭煜ฅ˙-˙ฅ  阅读(384)  评论(0编辑  收藏  举报