[clang-tools-extra] [clangd] Use unique command names to fix multi-root workspace support (PR #169734)

Daan De Meyer via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 9 00:28:17 PST 2026


daandemeyer wrote:

> @daandemeyer out of curiosity, have you tried https://github.com/eclipse-cdt-cloud/vscode-clangd at all, as I've suggested [here](https://github.com/clangd/vscode-clangd/pull/810#issuecomment-3684628857), or gotten in touch with its authors?
> 
> I ask in the context of this patch because I'd be curious to know whether this is a problem they've also run into, and if so whether they've found a different solution, or would benefit from this upstream change as well.

I have not checked that one out. I assume they would run into similar issues. As I documented in https://github.com/clangd/vscode-clangd/pull/810#issuecomment-2889156114, this seems to be a common problem that needs to be handled in the LSPs

https://github.com/llvm/llvm-project/pull/169734


More information about the cfe-commits mailing list