Skip to content

Commit 8ae710e

Browse files
authored
VSCode: Reduce file watcher resource usage (#4292)
1 parent 85b6b2b commit 8ae710e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.vscode/example/settings.json.tmpl

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,13 @@
1919
"--compile-commands-dir=${workspaceFolder}/build/latest",
2020
"--clang-tidy",
2121
"--header-insertion=never"
22-
]
22+
],
23+
"files.watcherExclude": {
24+
"**/.git/objects/**": true,
25+
"**/.git/**/modules/**/objects/**": true,
26+
"**/.git/**/subtree-cache/**": true,
27+
"**/.git/**/rr-cache/**": true,
28+
"build/**": true,
29+
"toolchain/**": true
30+
}
2331
}

0 commit comments

Comments
 (0)