hcl-lang icon indicating copy to clipboard operation
hcl-lang copied to clipboard

Enable full support of invalid object/map identifiers

Open radeksimko opened this issue 2 years ago • 0 comments

Context

While the HCL/Terraform language encourages use of "valid identifiers", such as a1234, it still supports identifiers which do not comply with the same restrictions, such as 12345.

These are already correctly collected as targets and provided in contextual completion, can be hovered over and are semantically highlighted.

However, we provide slightly less helpful go-to-definition

2023-04-25 14 48 25

and less helpful go-to-references

2023-04-25 14 48 59

Proposal

Provide the appropriate range for targets which represent object/map entries with "invalid" names.

radeksimko avatar Apr 25 '23 13:04 radeksimko