NicolasPetton/pass@919d8e3 -> NicolasPetton/pass@a095d24 abo-abo/define-word@3af6825 -> abo-abo/define-word@6e4a427 editorconfig/editorconfig-emacs@da84471 -> editorconfig/editorconfig-emacs@d73333c emacs-lsp/dap-mode@041db8e -> emacs-lsp/dap-mode@612388d emacs-lsp/lsp-mode@61443f3 -> emacs-lsp/lsp-mode@dbfbe1a emacs-lsp/lsp-ui@49bc513 -> emacs-lsp/lsp-ui@94673cd emacs-straight/project@0003fe4 -> emacs-straight/project@a1997af emacsorphanage/terraform-mode@63fafc6 -> emacsorphanage/terraform-mode@a9fa5bd joaotavora/eglot@2172641 -> joaotavora/eglot@4c85df2 k1LoW/emacs-ansible@cf6b8f0 -> k1LoW/emacs-ansible@40af0d2 magit/forge@953764d -> magit/forge@e340c2b magit/magit@acfe22a -> magit/magit@2145477 millejoh/emacs-ipython-notebook@a019ee3 -> millejoh/emacs-ipython-notebook@917f2a0 nicolaisingh/saveplace-pdf-view@88e07be -> nicolaisingh/saveplace-pdf-view@b037091 realgud/realgud@ff66001 -> realgud/realgud@f73c039 spotify/dockerfile-mode@d31f768 -> spotify/dockerfile-mode@6a56c1c tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7 tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7 tmalsburg/helm-bibtex@8d84d8b -> tmalsburg/helm-bibtex@1bb81d7 tumashu/posframe@e1552c8 -> tumashu/posframe@ae8ac91
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 |