HCL language support

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine AppCode CLion Gogland DataGrip Rider Android Studio
15.03.2017
42 718
This plugin adds support for HashiCorp Configuration Language (HCL) and HashiCorp Interpolation Language (HIL) languages
And their combination, Terraform configuration files (.tf)
Also HCL format is used for Nomad(.nomad files).
Features: For file formats with HCL (.hcl, .tf, .nomad):
  • Syntax highlighting
  • Structure outline in 'Structure' tool window
  • Code formatter, so reformat code action available
  • Code folding
  • Comment/Uncomment action
HashiCorp Interpolation Language:
  • Syntax highlighting
Terraform specific support: In both config and interpolations:
  • Autocompletion
  • Find Usages / Go to definition for resources, providers, variables and their properties
  • Rename Refactoring
  • Introduce Variable Refactoring (for string property values)
  • Several inspections
  • Report usage of deprecated properties
  • Unresolved reference checks (in interpolations)
  • Check required/missing properties in resource/provider
  • Predefined Terraform methods autocompletion in interpolations
  • (WIP) Better properties validation (type checking)
  • (WIP) Working with dependent modules
  • (WIP) Type-specific autocompletion in interpolations

Download plugin

Recent change notes

  • Added 'Introduce Variable' refactoring (#50)
  • Terraform v0.9.0