GitHub - rafalcieslak/emacs-company-terraform: Company backend for terraform fil...
source link: https://github.com/rafalcieslak/emacs-company-terraform
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
company-terraform
Company backend for terraform files.
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.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK