Releases: SublimeText/Terraform
Releases · SublimeText/Terraform
v2.0.0 - 2025-05-11
The package has been adopted by the SublimeText GitHub org and now lives at https://github.com/SublimeText/Terraform/ for the community to maintain. This is accompanied by many changes to bring the syntax definition up to current standards.
Added
- Declare hyphens as sub-word separators. (@FichteFoll, #60)
- Special highlighting for
for_each
andcount
meta arguments (keyword.control
). (@FichteFoll, #59) - Highlighting of more special language variables:
each
,count
andself
. (@FichteFoll, #58) - Highlighting for
ephemeral
blocks. (@TerminalFi, #70) - A separate syntax definition for
terraform plan
output (@michaelblyons, #51, #68) - Special highlighting for AWS ACL resource references in strings. (@michaelblyons, @deathaxe, #69, #76)
- Support JSON-style objects (requires ST 4180). (@michaelblyons, #54, #71)
- Scope-based folding rules. (@deathaxe, #81)
- Consistent indentation rules. (@deathaxe, #82)
- Highlight unclosed strings and stray closing brackets as illegal. (@FichteFoll, #91)
Changed
- Switched to syntax version 2.
This breaks compatibility with ST builds before 4000, but the previous version can still be installed on older builds. (@FichteFoll, #62) - Adapted and improved many scope names to standards that have been established over the past years for the default packages:
- String interpolation meta scopes and punctuation (@FichteFoll, #58)
- Keywords (@FichteFoll, @deathaxe, #58, #78, #86)
- Attribute access punctuation (@FichteFoll, #58)
- Punctuation scopes in
for
expressions (@FichteFoll, #58) - Blocks, including indexing for "name" labels (@michaelblyons, @FichteFoll, #69, #87)
- Operators (@michaelblyons, #66)
- Numbers (@deathaxe, #77)
- Brackets (@deathaxe, #80)
- Function calls (@deathaxe, #83)
- Updated the built-in function list for highlighting. (@FichteFoll, #59)
- Renamed many contexts and resolved various anonymous contexts for better extensibility. (@deathaxe, #75, #79)
Removed
- Removed various files targeting older ST versions, notably the old
.tmLanguage
syntax definition. This breaks compatibility with ST 2, but the previous version can still be installed on older builds. (@FichteFoll, #63)
Fixed
- Improved matching of identifiers by adding a scope and properly recognizing hyphens. (@FichteFoll, #60)
- Support identifiers starting with an underscore character (@FichteFoll, #43, #64).
1.3.1
1.3.0
What's Changed
- Update links to official docs on terraform.io by @totoroot in #53
- github: bump linux version to latest by @radeksimko in #57
- Separate HCL syntax into its own file and report it as
source.hcl
(rather thansource.terraform
) by @rchl in #56
New Contributors
- @totoroot made their first contribution in #53
- @radeksimko made their first contribution in #57
Full Changelog: 1.2.0...1.3.0
1.2.0
1.1.0
Terraform v0.12 rewrite
@patrickrgaffney has kindly rewritten everything to add HCL2 support (used in Terraform v0.12+). See #39 for more info.
Adds symbol indexing
Thanks to @patrickrgaffney for the contribution!
Update for TF v12
Thanks to @Tenzer for the contribution!