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

Enable full support of invalid object/map identifiers #268

Open
radeksimko opened this issue Apr 25, 2023 · 0 comments
Open

Enable full support of invalid object/map identifiers #268

radeksimko opened this issue Apr 25, 2023 · 0 comments
Labels
enhancement New feature or request technical-debt

Comments

@radeksimko
Copy link
Member

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 radeksimko added enhancement New feature or request technical-debt labels Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request technical-debt
Projects
None yet
Development

No branches or pull requests

1 participant