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

Go to module output declaration from reference #706

Closed
radeksimko opened this issue Jul 29, 2021 · 1 comment · Fixed by hashicorp/terraform-ls#1007
Closed

Go to module output declaration from reference #706

radeksimko opened this issue Jul 29, 2021 · 1 comment · Fixed by hashicorp/terraform-ls#1007
Assignees
Labels
enhancement New feature or request modules Functionality related to the module block and modules generally terraform-ls Features/bugs which will be implemented/fixed purely on the LS side
Milestone

Comments

@radeksimko
Copy link
Member

radeksimko commented Jul 29, 2021

Use Cases

Users which call modules and need to utilize module outputs will receive some available details about these outputs as part of completion, such as the name of the output, its type (in case of statically defined outputs), description, and whether it's sensitive.

It may still be useful for some users to review the full declaration of the output block within the called module to understand any side effects or implications.

Expected User Experience

User would use Go to definition or Go to declaration from the context menu:

Screenshot 2021-07-29 at 11 17 27

which would bring up the peek view with two locations - the module call itself, i.e.

Screenshot 2021-07-29 at 11 19 51

and the relevant output block within that module

Screenshot 2021-07-29 at 11 20 26

Proposal

hashicorp/hcl-lang

hashicorp/terraform-schema

@radeksimko radeksimko added enhancement New feature or request modules Functionality related to the module block and modules generally labels Jul 29, 2021
@radeksimko radeksimko changed the title Go to (local) module output declaration from reference Go to module output declaration from reference Jul 29, 2021
@radeksimko radeksimko added the terraform-ls Features/bugs which will be implemented/fixed purely on the LS side label Jul 29, 2021
@radeksimko radeksimko self-assigned this Dec 1, 2021
@radeksimko radeksimko removed their assignment Apr 7, 2022
@radeksimko radeksimko added this to the v2.24.0 milestone Jul 8, 2022
@dbanck dbanck self-assigned this Jul 13, 2022
@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 Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request modules Functionality related to the module block and modules generally terraform-ls Features/bugs which will be implemented/fixed purely on the LS side
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants