{ // 编辑器快速建议配置 "editor.quickSuggestions": { "strings": true // 在字符串中启用自动补全建议(例如输入HTML/CSS类名时) }, // ESLint工作目录配置 "eslint.workingDirectories": [ { "pattern": "./apps/*/" // 对apps目录下的所有子目录启用ESLint检查 }, { "pattern": "./ghost/*/" // 对ghost目录下的所有子目录启用ESLint检查 } ], // 搜索排除配置(这些路径不会出现在搜索结果中) "search.exclude": { "**/.git": true, // 排除git版本控制目录 "**/build/*": true, // 排除构建输出目录 "**/coverage/**": true, // 排除测试覆盖率报告目录 "**/dist/**": true, // 排除打包输出目录 "**/ghost.map": true, // 排除ghost.map文件 "**/node_modules": true, // 排除依赖包目录 "ghost/core/core/built/**": true // 排除特定的构建产物目录 }, // Tailwind CSS配置 "tailwindCSS.experimental.classRegex": [ // 配置识别clsx语法中的Tailwind类(用于自动补全) // 例如匹配 clsx('text-red-500', 'bg-white') 中的类名 ["clsx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] ], // Git配置 "git.detectSubmodules": false // 禁用Git子模块检测(可能用于加速或避免误检测) }