zoukankan      html  css  js  c++  java
  • 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"
      }
    }
    

      

    倩影

  • 相关阅读:
    《企业虚拟化应用实战》笔记
    s3c2440笔记1(启动)
    reactor & proactor 笔记
    交换机选型笔记
    Intel VT-x 基本概念
    note of introduction of Algorithms(Lecture 3
    STC12C5A60S2笔记8(串口)
    STC12C5A60S2笔记7(定时器)
    bzoj 3242: [Noi2013]快餐店 章鱼图
    高精度模板
  • 原文地址:https://www.cnblogs.com/Antwan-Dmy/p/12827731.html
Copyright © 2011-2022 走看看