-
Notifications
You must be signed in to change notification settings - Fork 180
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
Automatically refresh Terraform Module Calls View #1088
Conversation
f385b32
to
6e17aff
Compare
This commit automatically refreshes the Terraform Module Calls View when providers change in open document. This introduces a StaticFeature which registers a handler for the `client.refreshModuleCalls` request which terraform-ls can call to refresh the data shown in the Terraform Module Calls view. The terraform-ls server was modified to send `client.refreshModuleCalls` requests in hashicorp/terraform-ls#902
Co-authored-by: Radek Simko <radek.simko@gmail.com>
Co-authored-by: Radek Simko <radek.simko@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
This commit automatically refreshes the Terraform Module Calls View when providers change in open document.
This introduces a StaticFeature which registers a handler for the
client.refreshModuleCalls
request which terraform-ls can call to refresh the data shown in the Terraform Module Calls view. The terraform-ls server was modified to sendclient.refreshModuleCalls
requests in hashicorp/terraform-ls#909