域名没过期 网站打不开怎么办,黄页88可信吗,建设一个网站需要哪些软硬件条件,销售网站免费做一、前言
今天用 vue 官方脚手架创建工程#xff0c;然后通过 vscode 打开项目发现#xff0c;配置文件都被收缩在一起了。就像下面这样 这有点反直觉#xff0c;他们应该是在同一层级下的#xff0c;怎么会这样#xff0c;有点好奇#xff0c;但是打开资源管理查看然后通过 vscode 打开项目发现配置文件都被收缩在一起了。就像下面这样 这有点反直觉他们应该是在同一层级下的怎么会这样有点好奇但是打开资源管理查看确实是在同一层级下的那肯定是 **vscode **搞得鬼了。 二、设置文件嵌套展示
打开 .vscode 里的 settings.json 果然多了一些配置属性。
{explorer.fileNesting.enabled: true,explorer.fileNesting.patterns: {tsconfig.json: tsconfig.*.json, env.d.ts, auto-imports.d.ts, components.d.ts,vite.config.*: jsconfig*, vitest.config.*, cypress.config.*, playwright.config.*,package.json: package-lock.json, pnpm*, .yarnrc*, yarn*, .eslint*, eslint*, .prettier*, prettier*, .editorconfig, postcss.config.js, tailwind.config.js},editor.codeActionsOnSave: {source.fixAll: explicit},editor.formatOnSave: true,editor.defaultFormatter: esbenp.prettier-vscode,scss.lint.unknownAtRules: ignore
}
通过名称不难看出这里可以添加配置根据自己意愿进行合并展示。确实可以使得项目结构更加清晰。