-
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
Go to module output declaration from reference #706
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
added
enhancement
New feature or request
modules
Functionality related to the module block and modules generally
labels
Jul 29, 2021
radeksimko
changed the title
Go to (local) module output declaration from reference
Go to module output declaration from reference
Jul 29, 2021
radeksimko
added
the
terraform-ls
Features/bugs which will be implemented/fixed purely on the LS side
label
Jul 29, 2021
This was referenced Jul 30, 2021
Closed
Closed
This was referenced Jul 15, 2022
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.
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
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
orGo to declaration
from the context menu:which would bring up the peek view with two locations - the module call itself, i.e.
and the relevant
output
block within that moduleProposal
hashicorp/hcl-lang
[ ] Introduce*PathTarget
field toschema.Targetable
[ ] Update reference target collection logic such that it can also collect the additionalPathTarget
in https://github.com/hashicorp/hcl-lang/blob/f24c834260e015170a294693b9971e4ff1c219ab/decoder/reference_targets.go#L220-L247hashicorp/terraform-schema
[ ] Set the new*PathTarget
field ofTargetable
to relevant values in https://github.com/hashicorp/terraform-schema/blob/d31af62318148744949c88650a363ac1860f1383/schema/module_schema.go#L64-L70The text was updated successfully, but these errors were encountered: