-
Notifications
You must be signed in to change notification settings - Fork 12
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
Extract HCL Syntax #7
Conversation
jpogran
commented
Feb 28, 2022
•
edited
Loading
edited
- Update Terraform grammar to latest from hashicorp/vscode-terraform@bb95e28
- Move grammar to standard syntaxes directory
- Extract HCL grammar to dedicated file
- Configure Terraform grammar to inherit from HCL grammar
- Add HCL snapshot tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand there's still some work left to do, as demonstrated by the failing tests but it's already in a pretty good shape, I think!
The failing tests are the static unit tests. I was focusing on ensuring the snapshots look as expected (only the non-specific parts should show Updating the unit test is tedious and error prone, so I was leaving them till last |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! I'm still reading up on scope injection docs, but this looks good so far!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! 👍
Co-authored-by: Daniel Banck <dbanck@users.noreply.github.com>