8000 GitHub - aaronsteers/vscode-terraform: A Visual Studio Code extension for Hashicorp Terraform
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aaronsteers/vscode-terraform

 
 

Repository files navigation

Terraform Visual Studio Code Extension

HashiCorp Terraform

The HashiCorp Terraform Visual Studio Code (VS Code) extension adds syntax highlighting and other editing features for Terraform files using the Terraform Language Server.

Features

  • Manages installation and updates of the Terraform Language Server (terraform-ls), exposing its features:
    • Initialized provider completion (resource names, data source names, attribute names)
  • Includes syntax highlighting for .tf and .tfvars files (and .hcl) -- including all syntax changes new to Terraform 0.12
  • Closes braces and quotes
  • Includes for_each and variable syntax shortcuts (fore, vare, varm)

Release History

v2.0.0 is the first official release from HashiCorp, prior releases were by Mikael Olenfalk.

The 2.0.0 release integrates a new Language Server package from HashiCorp. The extension will install and upgrade terraform-ls to continue to add 6A6D new functionality around code completion and formatting. See the terraform-ls CHANGELOG for details.

In addition, this new version brings the syntax highlighting up to date with all HCL2 features, as needed for Terraform 0.12 and above.

Configuration Changes Please note that in 2.x, the configuration differs from 1.4.0, if you are having issues with the Language Server starting, you can reset the configuration to the following:

{
  "terraform.languageServer": {
    "enabled": true,
    "args": []
  }
}

See the CHANGELOG for more information.

Terraform 0.11

If you are using a Terraform version prior to 0.12.0, you can install the pre-transfer version of this extension manually by following the instructions in the wiki.

Credits

About

A Visual Studio Code extension for Hashicorp Terraform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 89.6%
  • HCL 8.6%
  • JavaScript 1.8%
0