Skip to content

Releases: hashicorp/vscode-terraform

0.0.23 (also 0.0.22)

12 Mar 12:12
Compare
Choose a tag to compare

0.0.23

Fixes

  • Typo in README.md which broke the auto-complete preview @chroju

0.0.22

Fixes

  • Do not require terraform.index.enabled to be true in order for auto-completion to work
  • Fix a small typo which makes Format Document command fail
  • Correctly bundle auto-completion data files

0.0.21 Auto-complete and bring back format on save

09 Mar 09:11
Compare
Choose a tag to compare

What's New

  • Auto completion support @ranga543
  • Format on save is back (closes #45, #47)
  • Tools can now be installed in directories which have spaces @xeres

Format on save

The last version introduced usage of the correct extension APIs for registering formatting
providers. VSCode then automatically invokes the formatting provider on save if editor.formatOnSave has been specified. VSCode however does never invoke the formatting
provider if the save operation came from an auto-save event.

0.0.21 reintroduces the manual code which handled format on autosave instead of relying on
VSCode to perform those operations. The following configuration options have changes as result
of that:

  • terraform.format.enable: needs to be true
  • terraform.format.formatOnSave: needs to be true
  • terraform.format.ignoreExtensionsOnSave: can be used to exclude .tfvars for example from autosave formatting

The global setting: editor.formatOnSave should be false for Terraform files and the
extension contributes that default configuration. Please verify that you do not have
conflicting configuration, by removing the following setting if you have it:

"[terraform]": {
  "editor.formatOnSave": true
}

The configuration editor.formatOnSave will have the correct setting contributed by Terraform.

0.0.20

18 Dec 14:37
Compare
Choose a tag to compare
  • The formatter now uses the correct Formatting API so that the builtin command for formatting works as expected (closes #42)
  • The formatter no longer has a hardcoded list of approved extensions, instead if the document type is 'terraform' then the formatter can be used to that file (closes #41)
  • The introduced formatter changes means that the plugin specific configuration for formatting (e.g. terraform.formatOnSave) have been deprecated and are no longer used.

0.0.19

30 Oct 08:06
Compare
Choose a tag to compare
  • Mark .tfstate files as JSON (closes #38)
  • Remove unnecessary files from package
  • Show output channel on validation failure @jackric

0.0.18

18 Oct 19:40
Compare
Choose a tag to compare