Tame clangd

Stop it from running on all CPUs;
Tell it not to index/build the build dirs
This commit is contained in:
2026-06-10 22:05:37 -04:00
parent 0722ef8209
commit 549f0c04f4
2 changed files with 16 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# Project clangd configuration.
# Worker thread count (-j=1) is a clangd CLI flag; see .vscode/settings.json.
CompileFlags:
CompilationDatabase: build-agent
---
If:
PathMatch: (build/.*|b/.*|build-[^/]+/.*|b-[^/]+/.*)
Index:
Background: Skip
+5
View File
@@ -107,5 +107,10 @@
"${workspaceFolder}/b/include",
"/usr/include",
"/usr/local/include"
],
"clangd.arguments": [
"--enable-config",
"-j=1",
"--compile-commands-dir=${workspaceFolder}/build-agent"
]
}