-
Notifications
You must be signed in to change notification settings - Fork 179
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
Syntax Highlighting for Successive Interpolated Values Incorrect #1118
Comments
Hi @NJITman It will be part of the next release |
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. |
Versions
Extension
v2.22.0
VS Code
1.67.2 (system setup)
Operating System
Windows 10 21H2
Terraform Version
1.1.8
Steps To Reproduce
When creating a string using interpolation, if two interpolated values are placed one after the other with no intervening characters, TF VSC extension shows second interpolation as being text. It does not generate a plan error, so it is acceptable to use in TF and generates the proper results. However, the TF linter is showing the second interpolation as text when it should show it as an interpolated value.
In the example below, compare the highlighting of bucket_name (has intervening period between two interpolated values) and aliases (does not have any intervening characters).
Expected Behavior
All interpolated values should be displayed with proper syntax highlighting.
Actual Behavior
If two interpolated values are placed one after the other, the first interpolated value is shown with correct highlighting, while the second is shown with text highlighting.
Additional context
The text was updated successfully, but these errors were encountered: