https://github.com/sztheory/vscode-packer-powertools
VS Code extension for Packer with code formatting, inline error messages, syntax highlighting, code folding, and command palette integration
https://github.com/sztheory/vscode-packer-powertools
devops formatter hashicorp infrastructure-as-code packer syntax-highlighting validation vscode vscode-extension
Last synced: 25 days ago
JSON representation
VS Code extension for Packer with code formatting, inline error messages, syntax highlighting, code folding, and command palette integration
- Host: GitHub
- URL: https://github.com/sztheory/vscode-packer-powertools
- Owner: szTheory
- License: other
- Created: 2022-04-30T17:33:22.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-11-27T21:59:41.000Z (over 1 year ago)
- Last Synced: 2025-04-10T23:36:19.104Z (27 days ago)
- Topics: devops, formatter, hashicorp, infrastructure-as-code, packer, syntax-highlighting, validation, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=szTheory.vscode-packer-powertools
- Size: 1.18 MB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
Packer Powertools
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-localIf 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.
## Features
Code formatting

Validation

Syntax highlighting

Code folding

Toggle comments

Commands
- `packer init`
- `packer build`
- `packer inspect`
## Requirements
You must have Packer installed and in your system `PATH`.
## Release Notes
### 0.4.0
- 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### 0.3.0
- Update to the latest syntax highlighting file from the [HashiCorp Syntax](https://github.com/hashicorp/syntax) repo
### 0.2.0
- Add `packer inspect` command
- Update syntax highlighting to look the same as the official Terraform plugin### 0.1.0
- Initial release