› Visual Studio Code V2EX › Visual Studio Code [VSCode] 多根工作区怎么对单独的文件夹设置排除?
wdssmq · wdssmq · 3h 16m ago · 224 views 并不想在 dir-note 内设置排除 { "folders": [ { "path": "dir-note", "settings": { "files.exclude": { // 语法上不会报错,但不生效 "*.json": true, ".vscode": true } } }, { "path": "dir-project" }, ], "settings": { "files.exclude": { // 如果写在这里,怎么让其只对 dir-note 生效 } } } VSCode 工作区 排除 1 replies • 2026-09-12 12:50:54 +08:00 1 yidinghe PRO 2h 42m ago 也许可以在工作区目录里写 .gitignore 排除