my VsCode Setting 配置信息

分类:编程 |

插件: 

  1. custom css and js loader 

  2. Material Icon Theme

  3. Web Storm New UI Theme

  4. IntelliJ IDEA Keybindings




setting.json 

{
  "workbench.startupEditor": "newUntitledFile",
  "workbench.statusBar.visible": true,
  "editor.largeFileOptimizations": false,
  "editor.wordWrap": "on",
  "files.maxMemoryForLargeFilesMB": 10000,
  "vetur.format.options.tabSize": 2,
  "vetur.format.options.useTabs": false,
  "vetur.format.defaultFormatterOptions": {
    "prettier": {
      "singleQuote": true, //不加分号
      "semi": true, //不加分号
      "eslintIntegration": true
    },
    "js-beautify-html": {
      "wrap_attributes": "auto",
      "html.format.wrapLineLength": 12000
    }
  },
  "files.associations": {
    "*.vue": "vue",
    "*.cjson": "jsonc",
    "*.wxss": "css",
    "*.wxs": "javascript"
  },
  "eslint.options": {
    "extensions": [".js", ".vue"]
  },
  "workbench.preferredDarkColorTheme": "Monokai",
  "editor.formatOnPaste": true,
  "editor.suggestSelection": "first",
  "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
  "emmet.includeLanguages": {
    "wxml": "html"
  },
  "minapp-vscode.disableAutoConfig": true,
  "window.title": "${activeEditorLong}${separator}${rootName}",
  "terminal.integrated.shell.osx": "/bin/zsh",
  "eslint.format.enable": true,
  "eslint.autoFixOnSave": true, //  启用保存时自动修复,默认只支持.js文件
  "eslint.validate": [
    "javascript", //  用eslint的规则检测js文件
    {
      "language": "vue", // 检测vue文件
      "autoFix": true //  为vue文件开启保存自动修复的功能
    },
    {
      "language": "html",
      "autoFix": true
    }
  ],
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "explicit"
  },
  "[vue]": {
    "editor.defaultFormatter": "octref.vetur"
  },
  "editor.wordWrapColumn": 8000,
  "html.format.wrapLineLength": 12000,
  "vetur.format.defaultFormatter.html": "js-beautify-html",
  "bracketPairColorizer.depreciation-notice": false,
  "sonarlint.pathToNodeExecutable": "node",
  "[php]": {
    "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
  },
  "go.toolsManagement.autoUpdate": true,
  "vetur.format.defaultFormatter.ts": "none",
  "minapp-vscode.prettier": {
    "parser": "html",
    "useTabs": false,
    "tabWidth": 4,
    "printWidth": 100,
    "singleQuote": false,
    "semi": false
  },
  "workbench.preferredHighContrastColorTheme": "Monokai",
  "terminal.external.osxExec": "iTerm.app",
  "debug.console.fontSize": 13,
  "terminal.integrated.fontSize": 13,
  "editor.fontLigatures": false,
  "editor.fontVariations": false,
  "editor.fontFamily": "'Droid Sans Mono',Menlo,Monaco, 'Courier New', monospace",
  "terminal.integrated.fontWeight": "normal",
  "markdown-mermaid.darkModeTheme": "forest",
  "markdown-mermaid.lightModeTheme": "base",
  "[powershell]": {
    "editor.semanticHighlighting.enabled": false
  },
  "[python]": {
    "editor.formatOnType": true
  },
  "workbench.editorAssociations": {
    "*.xlsx": "default",
    "*.cfg": "default"
  },
  "workbench.editor.empty.hint": "hidden",
  "workbench.colorTheme": "Webstorm New Light",
  "chat.commandCenter.enabled": false,
  "workbench.tree.indent": 20,
  "workbench.tree.expandMode": "doubleClick",
  "workbench.tree.renderIndentGuides": "none",
  "workbench.activityBar.location": "bottom",
  "window.zoomLevel": 0.3,
  "vscode_custom_css.imports": ["file:///Users/apple-ec/web/vscode-custom.css"],
  "workbench.layoutControl.enabled": false,
  "window.commandCenter": false,
  "workbench.panel.showLabels": false,
  "workbench.preferredLightColorTheme": "Webstorm New Light",
  "workbench.iconTheme": "material-icon-theme",
  "[css]": {
    "editor.defaultFormatter": "MikeBovenlander.formate"
  },
  "editor.minimap.enabled": false,
  "workbench.editor.splitInGroupLayout": "vertical",
  "vue.splitEditors.icon": true,
  "window.customTitleBarVisibility": "windowed",
  "workbench.preferredHighContrastLightColorTheme": "Webstorm New Light",
  "asp.codeBlockLightColor": "rgba(208,208,208,0.1)",
  "asp.defaultIncludes": [],
  "editor.fontSize": 13.5,
  "editor.lineHeight": 1.6,
  "workbench.colorCustomizations": {
    "editorGutter.addedBackground": "#00c21d",
    "editorGutter.deletedBackground": "#ff3636",
    "editorGutter.modifiedBackground": "#f13d3d"
  },
  "[jsonc]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "asp.sourceRoot": "",
  "window.dialogStyle": "custom",
  "search.mode": "newEditor",
  "search.seedWithNearestWord": true,
  "search.showLineNumbers": true,
  "editor.defaultFoldingRangeProvider": "SUREbusiness.asp-classic-support-v2",
  "notebook.defaultFormatter": "SUREbusiness.asp-classic-support-v2",
  "workbench.auxiliaryActivityBar.location": "bottom",
  "editor.tokenColorCustomizations": {
    "[*]": {
      // 适用于所有主题
      "textMateRules": [
        {
          "scope": "source", // 或者 "source.asp" 针对ASP文件
          "settings": {
            "foreground": "#2129a0d2" // 这里设置你想要的默认文本颜色
          }
        }
      ]
    },
    "comments": "#6A9955", // 注释颜色
    // "strings": "#CE9178", // 字符串颜色
    // "numbers": "#B5CEA8", // 数字颜色
    "keywords": "#569CD6", // 关键字颜色
    // "functions": "#DCDCAA", // 函数名颜色
    "functions": "#569CD6", // 函数名颜色
    "variables": "#9CDCFE", // 变量颜色
    "types": "#0a50c2", // 类型
  },
  "editor.linkedEditing": true,
  "liveServer.settings.AdvanceCustomBrowserCmdLine": ""
}