elixir-tools / credo-language-server

LSP implementation for Credo.
MIT License
96 stars 11 forks source link

Workspace Folders #59

Open mhanberg opened 1 year ago

mhanberg commented 1 year ago

Description

Users sometimes load multiple projects into the same editor instance, which requires the use of workspace folders to make it work well.

TODO

wkirschbaum commented 1 year ago

I started looking into it: https://github.com/elixir-tools/credo-language-server/pull/65, but not sure how quickly it will happen.

Some ideas:

We probably want to spin up one runtime per workspace: https://github.com/elixir-tools/credo-language-server/blob/main/lib/credo_language_server.ex#L158 and then use a Registry like next-ls's extensions.