26 lines
922 B
JSON
26 lines
922 B
JSON
|
{
|
||
|
// 控制相关文件嵌套展示
|
||
|
"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",
|
||
|
"package.json": "index.html,pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitignore,.gitattributes,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc,.env.*,.eslintrc.js,.prettierrc,env.d.ts",
|
||
|
"vite.config.ts": "tsconfig.*.json,postcss.config.ts,tailwind.config.ts,tsconfig.json"
|
||
|
},
|
||
|
"editor.formatOnSave": true,
|
||
|
|
||
|
"editor.codeActionsOnSave": {
|
||
|
"source.fixAll.eslint": "always"
|
||
|
},
|
||
|
"[typescript]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[json]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
},
|
||
|
"[vue]": {
|
||
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||
|
}
|
||
|
}
|