rafalcieslak / emacs-company-terraform

Company backend for terraform files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

company-terraform MELPA MELPA Stable

Company backend for terraform files.

asciinema

Features

Autompletes:

  • Arguments and meta-parameters in data and resource blocks
  • Resource type in data and resource declarations
  • Top-level keywords
  • In interpolations:
    • Built-in functions
    • Resource and data types and names, conveniently limited to those existing in your project
    • Resource and data arguments and attributes
    • Variable names
    • Meta-parameters and keywords

Usage

To enable company-terraform, call M-x company-terraform-init, or add

(require 'company-terraform)
(company-terraform-init)

to your init.el.

Completions will appear when both company-mode and terraform-mode are active.

I recommend also enabling company-quickhelp, which conviniently previews documentation string for the selected completion candidate.

company-terraform uses the data provided by the official Terraform documentation.

About

Company backend for terraform files

License:zlib License


Languages

Language:Emacs Lisp 99.4%Language:Python 0.6%