-
-
Couldn't load subscription status.
- Fork 384
Closed
Description
I'm using Emacs as an LSP client. It happens to report both a root URI on initialize and a non-empty list of workspace folders.
What ends up happening is the workspace that's created in the server by the initialize callback is overwritten by the one created in the workspaceFolders callback. When commands like find definition are used, the wrong workspace gets used and nothing will be found.
Here is the first assignment:
And here is where it gets overwritten:
Based on the code it seems like there's only support for a single global workspace. Is this intentional, or will there be support for redirecting the LSP commands to multiple workspaces based on the current document?
Metadata
Metadata
Assignees
Labels
No labels