Skip to content
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

Continuously update Module View #818

Closed
radeksimko opened this issue Oct 18, 2021 · 2 comments
Closed

Continuously update Module View #818

radeksimko opened this issue Oct 18, 2021 · 2 comments
Labels
enhancement New feature or request
Milestone

Comments

@radeksimko
Copy link
Member

Problem Statement

#746 introduced a new pane with module calls

Screenshot 2021-10-18 at 15 59 21

This module also advises the user to run terraform get if there is no data to present:

Screenshot 2021-10-18 at 16 00 51

However it still requires the user to change active editor view to get the module view "cache" invalidated.

2021-10-18 15 58 23

Expected User Experience

Once user runs terraform get or terraform init, the module view is updated to reflect the latest manifest data.

Proposal

Language server already has mechanism for watching the manifest and detecting changes. We can leverage this and send an LSP notification to the client.

@radeksimko radeksimko added the enhancement New feature or request label Oct 18, 2021
@radeksimko radeksimko added this to the 2.23.0 milestone May 27, 2022
@radeksimko
Copy link
Member Author

This was implemented as part of hashicorp/terraform-ls#909 and #1088 and will be part of the next release.

@github-actions
Copy link

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.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant