I complete restart the vscode instance, I also call clangd: restart language server
It only works if I put this in user settings or workspace setting.
I understand per each workspace it only start a single clangd instance, thus it only use the first workspace folder as working path, thus the folder setting actually has no effect.
If this is the case, why not just disable the folder setting completely? so far the only setting visible in folder setting window is the clangd.path. I think it should also get removed.
I have this in Folder settings.json
I complete restart the vscode instance, I also call clangd: restart language server It only works if I put this in user settings or workspace setting.
I understand per each workspace it only start a single clangd instance, thus it only use the first workspace folder as working path, thus the folder setting actually has no effect.
If this is the case, why not just disable the folder setting completely? so far the only setting visible in folder setting window is the clangd.path. I think it should also get removed.
Logs
System information Clangd version (from the log, or
clangd --version
): clangd extension version: v0.1.28 Operating system: ubuntu 22.04