-
Notifications
You must be signed in to change notification settings - Fork 131
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
Ask to terraform init
an uninitialized workspace
#106
Comments
We should probably ask to initialize entirely uninitialized workspaces or when we get that error from the Terraform binary. But we may be able to be a bit proactive about it, when there are providers in source that are not initialized or maybe the local mirror directories change, etc. |
I think this might require some help from the language server in relation to #32 because the server will likely be the one that knows better/best where it's suitable to |
Is it possible to disable the initialization? |
The error will not be reported as per #171 from the next release (0.4.0; to be released in coming days). The schema is still necessary for most functionality (pretty much all except formatting), but we need to better understand where in the hierarchy could a folder be potentially Supporting monorepo and other more complex hierarchies is something we plan to support as part of #32 |
As for the implementation details of this one, I realized that the JSON RPC library we use doesn't seem to support server->client requests. It can only send notifications (without waiting for response), such as (I tried sending |
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. |
https://microsoft.github.io/language-server-protocol/specification#window_showMessageRequest
Not entirely sure about the UX on this, but may be worth exploring.
The text was updated successfully, but these errors were encountered: