-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only launch new instances of LS if it doesn't support multiple folders #627
Labels
bug
Something isn't working
Comments
This was referenced May 20, 2021
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The extension communicates via client capabilities that it supports multiple folders:
this can also be seen by the client sending all opened folders, as expected in the
initialize
request:The LS therefore should have a way of opting into multi-folder mode via server capabilities and prevent the extension from launching more processes.
However when it does so:
the extension still launches 3 instances of LS (1 for each of 3 folders) anyway.
WIP branch with experimental multi-folder support is available from hashicorp/terraform-ls#502
The text was updated successfully, but these errors were encountered: