Skip to content

Commit 1aae769

Browse files
committed
feat: 在vscode中折叠文件目录
1 parent dc32b92 commit 1aae769

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.vscode/settings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,15 @@
4040
"i18n-ally.displayLanguage": "zh-CN",
4141
"i18n-ally.enabledFrameworks": ["vue", "react"],
4242
"god.tsconfig": "./tsconfig.json",
43-
"vue-i18n.i18nPaths": "src/locales"
43+
"vue-i18n.i18nPaths": "src/locales",
44+
"explorer.fileNesting.enabled": true,
45+
"explorer.fileNesting.expand": false,
46+
"explorer.fileNesting.patterns": {
47+
"*.ts": "$(capture).test.ts, $(capture).test.tsx",
48+
"*.tsx": "$(capture).test.ts, $(capture).test.tsx",
49+
"*.env": "$(capture).env.*",
50+
"CHANGELOG.md": "CHANGELOG*",
51+
"package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc,vite.config.*,windi.*,tailwind.*,tsconfig.*,postcss*",
52+
".eslintrc.js": ".eslintignore,.eslintrc-*,.prettierignore,.stylelintignore,.commitlintrc.js,.prettierrc.js,.stylelint*,stylelint*,prettier.*,.editorconfig"
53+
}
4454
}

0 commit comments

Comments
 (0)