-
Notifications
You must be signed in to change notification settings - Fork 891
Description
Currently each IDE needs to be configured for each Language Server implementation. It would be nice if there was a way for IDEs to automatically detect installed servers.
This is possible for Jupyter kernels, each Jupyter kernel installs its config in ~/.jupyter
and VSCode can automatically detect all installed Jupyter kernels, no need for any additional configuration or extensions.
Similar setup should work for LSP. There can be some standard folder like ~/.lsp
. Each installed Language Server would store its config there. This config will specify command to run the server and will contain a list of supported file patters (e.g. file extensions and special files like package.json
or Cargo.toml
to look for). If IDE detects that there is a Language Server suitable for the current file/directory it could ask user to run it.