https://github.com/fredwangwang/vscode-hcl-formatter
vscode plugin for hclfmt
https://github.com/fredwangwang/vscode-hcl-formatter
Last synced: about 1 year ago
JSON representation
vscode plugin for hclfmt
- Host: GitHub
- URL: https://github.com/fredwangwang/vscode-hcl-formatter
- Owner: fredwangwang
- License: mit
- Created: 2020-10-20T06:12:34.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-24T16:03:46.000Z (over 4 years ago)
- Last Synced: 2025-04-12T20:05:24.998Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=fredwangwang.vscode-hcl-format
- Size: 205 KB
- Stars: 6
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# HCL Format
HCL Format helps to format Hashicorp Configuration Language, (.tf, .hcl) files. Just the standard format documentation key binding.
HCl Format uses [hclfmt](https://github.com/hashicorp/hcl/tree/main/cmd/hclfmt). The plugin bundles a precompiled hclfmt binary for linux/windows/darwin.
If you prefer to use your own compiled binary, you could change that in the configuration under `hclfmt_path` as well.
## Configuration:
`hclformat.hclfmt_path`: path to the hclfmt binary
`hclformat.levant_support`: (true) support format HCL with embeded levant syntax
## Dev Build
1. `npm install`