Is your feature request related to a problem? Please describe.
When editing Terramate-files in VS Code I always have to manually run "terraform fmt" to ensure my files are formatted correctly.
Describe the solution you'd like
The Terramate-extension for VS Code should support using the "Format Document" command, and also support the editor.formatOnSave property to auto-format files on save.
Describe alternatives you've considered
Manually calling terraform fmt via the console (which is tedious)
Wait for the pre-commit hook to do it, but this forces me to re-stage the changed files
Is your feature request related to a problem? Please describe. When editing Terramate-files in VS Code I always have to manually run "terraform fmt" to ensure my files are formatted correctly.
Describe the solution you'd like The Terramate-extension for VS Code should support using the "Format Document" command, and also support the
editor.formatOnSave
property to auto-format files on save.Describe alternatives you've considered
terraform fmt
via the console (which is tedious)Additional context This hopefully might be possible now that https://github.com/terramate-io/terramate/pull/1316 is implemented