Skip to content

Releases: hashicorp/vscode-terraform

1.0.8

15 May 11:50
Compare
Choose a tag to compare

Fixes

  • Correctly set current working directory when calling tflint (Closes #82)

1.0.6

13 May 06:56
Compare
Choose a tag to compare

New Features

  • Autocomplete now autocomplete builtin interpolation functions
  • Autocomplete in interpolation should be more robust
  • .tfvars Files are now correctly indexed so that Go To definition, Rename more now work as expected (Closes #80)
  • Autocomplete of top-level sections (e.g. resource, variable for example) now uses snippets to speed up authoring

Experimental features

  • Invoking the command terraform.preview-graph (Terraform: Preview Graph) will generate and show a clickable resource dependency graph

Fixes

  • Correctly syntax highlight the locals {} keyword

1.0.5

03 May 10:33
Compare
Choose a tag to compare

New Features

  • The Hover now shows values of more references (previously only variable default were shown)

Fixes

  • Correctly parse references to list and map variables as well as references in nested expressions (Closes #75)

1.0.3

30 Apr 15:02
Compare
Choose a tag to compare

New Features

  • Support region for code-folding (#region, #endregion) (closes #63)
  • Add document links to the official terraform documentation (closes #68)

1.0.2

30 Apr 13:04
Compare
Choose a tag to compare

Small improvements:

New Features

  • CodeLens contribution can be disabled via configuration (closes #73)
  • Make it possible to exclude paths from indexing (by default excludes .terraform, closes #72)

Quick bugfix for 1.0.1

27 Apr 16:47
Compare
Choose a tag to compare

Fixes

  • Fix racecondition during startup of larger projects

1.0.0

27 Apr 15:06
Compare
Choose a tag to compare

1.0.0

New Features

  • Indexing support is no longer experimental
  • Indexing support no longer requires a separate tool (HCL parsing is now built directly into the plugin)
  • Rename refactoring now supports all types
  • Hovering a variable shows the default value
  • A code lens shows how often a resource (or variable, or data) is referenced
  • Terraform now works with Visual Studio LiveShare (thanks to @lostintangent)

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.