You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it's supported, but having syntax highlighting and intellisense would be nice.
Actual Behavior
No syntax hightlighting or intellisense.
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
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
The text was updated successfully, but these errors were encountered:
Thanks for the report. You're right, we don't currently recognise "local" references within the dynamic block, such as schema.* in your example. This affects completion, hover, go-to-* and semantic token highlighting.
What makes these local references different from other local references we already support (such as count.index, each.*, and self.*) is that apart from the first segment, such as schema above, the rest of the address is entirely dependent on interpolating the supplied expression/variable inside for_each.
I'll rename this as a feature request if you don't mind.
Extension Version
v2.33.0
VS Code Version
Version: 1.94.2 (system setup)
Commit: 384ff7382de624fb94dbaf6da11977bba1ecd427
Date: 2024-10-09T16:08:44.566Z
Electron: 30.5.1
ElectronBuildId: 10262041
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
Operating System
WSL Ubuntu 24.04
Terraform Version
Terraform 1.8.4
Steps to Reproduce
Expected Behavior
Not sure if it's supported, but having syntax highlighting and intellisense would be nice.
Actual Behavior
No syntax hightlighting or intellisense.
Terraform Configuration
No response
Project Structure
No response
Gist
No response
Anything Else?
No response
Workarounds
No response
References
No response
Help Wanted
Community Note
The text was updated successfully, but these errors were encountered: