settings.json 4.3 KB
Newer Older
V
vben 已提交
1 2
{
  "typescript.tsdk": "./node_modules/typescript/lib",
V
vben 已提交
3 4
  "volar.tsPlugin": true,
  "volar.tsPluginStatus": false,
V
vben 已提交
5
  "npm.packageManager": "pnpm",
6
  "editor.tabSize": 2,
V
Vben 已提交
7
  "editor.defaultFormatter": "esbenp.prettier-vscode",
8
  "files.eol": "\n",
V
vben 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22
  "search.exclude": {
    "**/node_modules": true,
    "**/*.log": true,
    "**/*.log*": true,
    "**/bower_components": true,
    "**/dist": true,
    "**/elehukouben": true,
    "**/.git": true,
    "**/.gitignore": true,
    "**/.svn": true,
    "**/.DS_Store": true,
    "**/.idea": true,
    "**/.vscode": false,
    "**/yarn.lock": true,
V
vben 已提交
23 24 25 26 27 28 29
    "**/tmp": true,
    "out": true,
    "dist": true,
    "node_modules": true,
    "CHANGELOG.md": true,
    "examples": true,
    "res": true,
V
Vben 已提交
30 31 32
    "screenshots": true,
    "yarn-error.log": true,
    "**/.yarn": true
V
vben 已提交
33 34
  },
  "files.exclude": {
V
Vben 已提交
35 36 37
    "**/.cache": true,
    "**/.editorconfig": true,
    "**/.eslintcache": true,
V
vben 已提交
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
    "**/bower_components": true,
    "**/.idea": true,
    "**/tmp": true,
    "**/.git": true,
    "**/.svn": true,
    "**/.hg": true,
    "**/CVS": true,
    "**/.DS_Store": true
  },
  "files.watcherExclude": {
    "**/.git/objects/**": true,
    "**/.git/subtree-cache/**": true,
    "**/.vscode/**": true,
    "**/node_modules/**": true,
    "**/tmp/**": true,
    "**/bower_components/**": true,
    "**/dist/**": true,
    "**/yarn.lock": true
  },
  "stylelint.enable": true,
V
vben 已提交
58
  "stylelint.validate": ["css", "less", "postcss", "scss", "vue", "sass"],
V
vben 已提交
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
  "path-intellisense.mappings": {
    "/@/": "${workspaceRoot}/src"
  },
  "[javascriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescript]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[typescriptreact]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[html]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[css]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[less]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[scss]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "[markdown]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode"
  },
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
V
vben 已提交
88
  },
89 90
  "[vue]": {
    "editor.codeActionsOnSave": {
V
vben 已提交
91 92
      "source.fixAll.eslint": true,
      "source.fixAll.stylelint": true
93 94
    }
  },
95
  "i18n-ally.localesPaths": ["src/locales/lang"],
V
vben 已提交
96 97 98
  "i18n-ally.keystyle": "nested",
  "i18n-ally.sortKeys": true,
  "i18n-ally.namespace": true,
V
vben 已提交
99
  "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
100
  "i18n-ally.enabledParsers": ["ts"],
V
Vben 已提交
101
  "i18n-ally.sourceLanguage": "en",
无木 已提交
102
  "i18n-ally.displayLanguage": "zh-CN",
V
Vben 已提交
103
  "i18n-ally.enabledFrameworks": ["vue", "react"],
104 105 106 107
  "cSpell.words": [
    "vben",
    "windi",
    "browserslist",
108
    "tailwindcss",
109 110 111 112 113
    "esnext",
    "antv",
    "tinymce",
    "qrcode",
    "sider",
114
    "pinia",
115
    "sider",
V
vben 已提交
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
    "nprogress",
    "INTLIFY",
    "stylelint",
    "esno",
    "vitejs",
    "sortablejs",
    "mockjs",
    "codemirror",
    "iconify",
    "commitlint",
    "vditor",
    "echarts",
    "cropperjs",
    "logicflow",
    "vueuse",
    "zxcvbn",
    "lintstagedrc",
133 134
    "brotli",
    "tailwindcss",
1
1sm 已提交
135
    "sider",
136 137
    "pnpm",
    "antd"
138 139 140
  ],
  "vetur.format.scriptInitialIndent": true,
  "vetur.format.styleInitialIndent": true,
141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
  "vetur.validation.script": false,
  "MicroPython.executeButton": [
    {
      "text": "▶",
      "tooltip": "运行",
      "alignment": "left",
      "command": "extension.executeFile",
      "priority": 3.5
    }
  ],
  "MicroPython.syncButton": [
    {
      "text": "$(sync)",
      "tooltip": "同步",
      "alignment": "left",
      "command": "extension.execute",
      "priority": 4
    }
V
vben 已提交
159 160 161 162 163 164 165 166
  ],
  // 控制相关文件嵌套展示
  "explorer.fileNesting.enabled": true,
  "explorer.fileNesting.expand": false,
  "explorer.fileNesting.patterns": {
    "*.ts": "$(capture).test.ts, $(capture).test.tsx",
    "*.tsx": "$(capture).test.ts, $(capture).test.tsx",
    "*.env": "$(capture).env.*",
167 168 169
    "CHANGELOG.md": "CHANGELOG*",
    "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*",
    ".eslintrc.js": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelintrc.js"
V
vben 已提交
170 171
  },
  "terminal.integrated.scrollback": 10000
172
}