更新 VSCode 设置,启用文件嵌套并添加嵌套模式

This commit is contained in:
严浩
2024-10-11 17:03:46 +08:00
parent 84ba3326ab
commit cd3085f5f2

View File

@ -8,5 +8,12 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"]
"typescript.preferences.autoImportFileExcludePatterns": ["vue-router/auto$"],
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"tsconfig.json": "tsconfig.*.json, env.d.ts",
"vite.config.*": "jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*",
"package.json": "package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*, .editorconfig"
}
}