SavchenkoValeriy/emacs-powerthesaurus@810a25056c -> SavchenkoValeriy/emacs-powerthesaurus@88bc5229cb Silex/docker.el@fbd896e313 -> Silex/docker.el@44f0bbec9b editorconfig/editorconfig-emacs@1d4acc3ec7 -> editorconfig/editorconfig-emacs@1f6f16c24f emacs-citar/citar@ee98b94f7f -> emacs-citar/citar@dd028c6a4d emacs-straight/rainbow-mode@949166cc01 -> emacs-straight/rainbow-mode@55a8c15782 emacsorphanage/quickrun@c680f5137c -> emacsorphanage/quickrun@314beae43c jacktasia/dumb-jump@dbb915441a -> jacktasia/dumb-jump@1dd583011f magit/forge@66b3993c98 -> magit/forge@36208c43bf magit/magit@a4a78d341a -> magit/magit@c1fb53d3de millejoh/emacs-ipython-notebook@e04e1e19c6 -> millejoh/emacs-ipython-notebook@7b9b14435c purcell/envrc@57d78f0138 -> purcell/envrc@7f36664fc6 rafalcieslak/emacs-company-terraform@2d11a21fee -> rafalcieslak/emacs-company-terraform@8d5a16d1bb rejeep/prodigy.el@168f5ace16 -> rejeep/prodigy.el@a3be00d3b9 tkf/emacs-request@c769cf33f2 -> tkf/emacs-request@38ed1d2e64 tmalsburg/helm-bibtex@db73156576 -> tmalsburg/helm-bibtex@ce8c17690d
tools/terraform
Description
This module adds support for working with Terraform files in Doom Emacs. This includes syntax highlighting, intelligent code completion, and the ability to run Terraform commands directly from Emacs.
Module Flags
This module provides no flags.
Plugins
Prerequisites
The terraform
executable must be installed and accessible from your PATH.
Features
Syntax highlighting
Syntax highlighting is provided from terraform-mode
and hcl-mode
.
Code formatting
:tools terraform
does not provide code formatting directly, but :editor
format
works with Terraform files.
Code navigation
Code navigation is supported through imenu
from terraform-mode
.
Code completion
Code completion of Terraform builtins is provided from company-terraform
and
generally works well despite being generated through a static (outdated) file.
company-terraform
also provides code completion of resources within your project.
Documentation
Documentation is accessible through the normal company-mode
show documentation
functionality, thanks to company-terraform
.
Executing Terraform commands
:tools terraform
provides commands under the localleader
to run the most
common Terraform operations (see Keybindings below).
Appendix
Keybindings
:localleader
key | description |
---|---|
i |
Run terraform init |
p |
Run terraform plan |
a |
Run terraform apply |