Join GitHub today
How to handle windows with multiple root folders? #33
The LSP package currently handles windows with multiple folders by finding a common prefix.
As discovered in #24, a common usage with Sublime workspaces is to link in whole trees of projects, perhaps even from multiple drives (e.g.
For this scenario, it is increasingly unlikely that we can find a common prefix to give the language server as
Looking at the language server protocol, the workspace concept (of which there is only one in a language server process) offers these actions:
An improvement would be to create an LSP instance per
Users who choose to mount the parent folder of multiple projects will have to accept that: