HighCommander4 wrote:
> 1. I've attached my clangd log below.
I'm seeing the client include
`"rootUri":"file:///home/dominicentek/Desktop/project"` in the `initialize`
request.
I take it this is the same directory you were envisioning passing to
`--project-root`?
> 2. Zed only lets you configure CLI options, environment variables and path to
> the binary. I'm using `~/.config/clangd/config.yaml` to configure the
> fallback flags.
Ok, thanks for checking.
So given all that, what do you think about the following approach:
* Introduce a command-line flag `--strong-workspace-mode` which is
boolean-valued rather than taking a string argument.
* If set to true, this flag would currently have the effect of using the
`rootUri` sent by the client as the working directory for fallback commands.
* In the future, the effect of this flag would be extended to have the
other effects described in [this
comment](https://github.com/llvm/llvm-project/pull/155905#issuecomment-3549683238).
https://github.com/llvm/llvm-project/pull/155905
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits