VS Code extension for Packer with code formatting, inline error messages, syntax highlighting, code folding, and command palette integration.
Also has tooltip popups with documentation. Currently supports it for the base Packer feature set, as well as for these builders:
- amazon-ebs
and these provisioners:
- ansible
- ansible-local
If you want tooltip support for another builder or provisioner, create an issue on the Github site and I'll add them in the order of most requested.
Code formatting
Validation
Syntax highlighting
Code folding
Toggle comments
Commands
packer init
packer build
packer inspect
You must have Packer installed and in your system PATH
.
-
TODO: pull these from the git history and git diff
-
Add documentation hover tooltips
-
Fix syntax highlighting bug for blocks with dashes (-) in them, such as
error-cleanup-provisioner
-
Update syntax definition file to use top-level blocks for Packer instead of Terraform
-
Update syntax definition file to use Packer built-in functions instead of Terraform
- Update to the latest syntax highlighting file from the HashiCorp Syntax repo
- Add
packer inspect
command - Update syntax highlighting to look the same as the official Terraform plugin
- Initial release