|
| 1 | +{ |
| 2 | + "folders": [ |
| 3 | + { |
| 4 | + "path": "server", // 支持相对路径(推荐)或绝对路径 |
| 5 | + "name": "Backend API" // 【技巧】给文件夹起别名,不影响文件系统 |
| 6 | + }, |
| 7 | + { |
| 8 | + "path": "client", |
| 9 | + "name": "Frontend App" |
| 10 | + } |
| 11 | + ], |
| 12 | + "settings": { |
| 13 | + // 文件监听器忽略,优化内存占用 |
| 14 | + "files.watcherExclude": { |
| 15 | + "**/node_modules/**": true, |
| 16 | + "**/dist/**": true, |
| 17 | + "**/.git/objects/**": true, |
| 18 | + "**/.git/subtree-cache/**": true, |
| 19 | + "**/coverage/**": true, |
| 20 | + "**/.hg/store/**": true, |
| 21 | + "**/.idea/**": true, |
| 22 | + "**/.vscode/**": true, |
| 23 | + "**/.next/**": true, |
| 24 | + "**/build/**": true, |
| 25 | + "**/.cache/**": true, |
| 26 | + "**/tmp/**": true |
| 27 | + }, |
| 28 | + // 搜索性能优化 |
| 29 | + "search.exclude": { |
| 30 | + "**/node_modules": true, |
| 31 | + "**/dist": true, |
| 32 | + "**/.next": true, |
| 33 | + "**/coverage": true, |
| 34 | + "**/yarn.lock": true, |
| 35 | + "**/pnpm-lock.yaml": true, |
| 36 | + "**/package-lock.json": true, |
| 37 | + "**/.git": true, |
| 38 | + "**/.DS_Store": true, |
| 39 | + "**/*.log": true, |
| 40 | + "**/.idea": true, |
| 41 | + "**/.vscode": true |
| 42 | + }, |
| 43 | + // peacock改变颜色,便于区分不同项目 |
| 44 | + // "workbench.colorCustomizations": { |
| 45 | + // "activityBar.activeBackground": "#2ecef9", |
| 46 | + // "activityBar.background": "#2ecef9", |
| 47 | + // "activityBar.foreground": "#15202b", |
| 48 | + // "activityBar.inactiveForeground": "#15202b99", |
| 49 | + // "activityBarBadge.background": "#d906ac", |
| 50 | + // "activityBarBadge.foreground": "#e7e7e7", |
| 51 | + // "commandCenter.border": "#15202b99", |
| 52 | + // "sash.hoverBorder": "#2ecef9", |
| 53 | + // "statusBar.background": "#07bced", |
| 54 | + // "statusBar.foreground": "#15202b", |
| 55 | + // "statusBarItem.hoverBackground": "#0695bb", |
| 56 | + // "statusBarItem.remoteBackground": "#07bced", |
| 57 | + // "statusBarItem.remoteForeground": "#15202b", |
| 58 | + // "titleBar.activeBackground": "#07bced", |
| 59 | + // "titleBar.activeForeground": "#15202b", |
| 60 | + // "titleBar.inactiveBackground": "#07bced99", |
| 61 | + // "titleBar.inactiveForeground": "#15202b99" |
| 62 | + // }, |
| 63 | + // "peacock.color": "#07bced" |
| 64 | + |
| 65 | + // 也可以设置不同的主题 |
| 66 | + "workbench.colorTheme": "Catppuccin Latte" |
| 67 | + } |
| 68 | +} |
0 commit comments