HCL language support
for IntelliJ IDEA

Compatible with all products except MPS
13.02.2017
35 109
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
  • 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

  • Updated terraform model data to match Terraform v0.8.6
  • Minor internal refactoring, plugin size reduced a bit
17.01.2017
Thanks for this plugin, it saved me so much time.
16.02.2016
This plugin makes my life so much easier when dealing with Terraform configuration files. Thank you!
Please  sign in  to leave a comment.