hashicorp/terraform-ls

Broken completion for references w/ trailing dot in `TemplateWrapExpr`

dbanck opened this issue · 1 comments

dbanck commented

Language Server Version

v0.32.4

Terraform Version

v1.7.2

Client Version

VS Code 1.85.2

Terraform Configuration

resource "random_id" "name" {
  byte_length = 0
}

locals {
  toot = "${random_id.}"
}

Steps to Reproduce

  1. Use the example configuration
  2. Trigger completion after random_id.

Expected Behavior

CleanShot 2024-02-05 at 18 06 14@2x

Actual Behavior

CleanShot 2024-02-05 at 18 06 08@2x

Gist

No response

Workarounds

No response

References

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

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.