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

Not resolving variables of type object #1819

Closed
1 task
windowsrefund opened this issue Sep 4, 2024 · 3 comments
Closed
1 task

Not resolving variables of type object #1819

windowsrefund opened this issue Sep 4, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@windowsrefund
Copy link

windowsrefund commented Sep 4, 2024

Language Server Version

v0.34.2

Terraform Version

v1.8.5

Client Version

neovim 10.1

Terraform Configuration

In variables.tf

variable "foo" {
  type = object({
    bar = string
    baz = bool
  })
}

Steps to Reproduce

Now in main.tf you should be able to autocomplete var.foo.bar or var.foo.baz but that doesn't happen.

Expected Behavior

autocomplete should work

Actual Behavior

autocomplete does not see anything deeper than var.foo

Gist

No response

Workarounds

No response

References

No response

Help Wanted

  • I'm interested in contributing a fix myself

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@windowsrefund windowsrefund added the bug Something isn't working label Sep 4, 2024
@jpogran
Copy link
Contributor

jpogran commented Sep 4, 2024

Hi @windowsrefund, this is something we are aware of: #830 and #653 come to mind. I do not have an ETA for you at this time.

@dbanck
Copy link
Member

dbanck commented Dec 4, 2024

As James mentioned, I believe #830 already covers this, so I'm going to close this as a duplicate to keep the conversation in one place.

@dbanck dbanck closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2024
Copy link

github-actions bot commented Jan 4, 2025

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 Jan 4, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants