Silex/docker.el@d5255a65b7 -> Silex/docker.el@f3adbf49e1 alphapapa/magit-todos@501c8db90a -> alphapapa/magit-todos@501c8db90a andras-simonyi/citeproc-el@cfa30b6c95 -> andras-simonyi/citeproc-el@54184baaff doomelpa/code-review@e4c34fa284 -> doomelpa/code-review@e4c34fa284 editorconfig/editorconfig-emacs@1651294334 -> editorconfig/editorconfig-emacs@648f0cf9ae emacs-citar/citar@07d2a63c99 -> emacs-citar/citar@07d2a63c99 emacs-lsp/dap-mode@b407773ebc -> emacs-lsp/dap-mode@496dd3a60f emacs-lsp/lsp-mode@5298775517 -> emacs-lsp/lsp-mode@12befaabe4 emacs-lsp/lsp-ui@00f1fecdfb -> emacs-lsp/lsp-ui@072bb29152 emacs-straight/crdt@9bf99e2ce3 -> emacs-straight/crdt@7f91efcc72 emacs-straight/eglot@8008255edd -> emacs-straight/eglot@3a5240d8fd emacs-tree-sitter/tree-sitter-langs@b2739d07fa -> emacs-tree-sitter/tree-sitter-langs@1c3d95d018 hcl-emacs/terraform-mode@a645c32a8f -> hcl-emacs/terraform-mode@abfc10f5e3 jacktasia/dumb-jump@3c2ab8dfff -> jacktasia/dumb-jump@cd65a74337 magit/forge@21d410c810 -> magit/forge@a56eb3cbb2 magit/magit@e777822720 -> magit/magit@cf94190410 nicolaisingh/saveplace-pdf-view@ee95460cd9 -> nicolaisingh/saveplace-pdf-view@70e9ec4056 purcell/envrc@2316e004c1 -> purcell/envrc@532ecdab48 tumashu/posframe@f4e9e509ba -> tumashu/posframe@493b17f74a
:tools terraform
Description unfold
This module adds support for working with Terraform files within Emacs. This includes syntax highlighting, intelligent code completion, and the ability to run Terraform commands directly from Emacs.
Maintainers
This module has no dedicated maintainers. Become a maintainer?
Module flags
- +lsp
-
Enable LSP support for
terraform-mode
. Requires doom-module::tools lsp and a langserver (supports terraform-ls or terraform-lsp).
Packages
- doom-package:company-terraform if doom-package::completion company
- doom-package:terraform-mode
Hacks
No hacks documented for this module.
TODO Changelog
This module does not have a changelog yet.
Installation
Enable this module in your doom!
block.
This module requires the terraform
executable to be installed and in your
$PATH
.
Usage
Syntax highlighting
Syntax highlighting is provided from terraform-mode
and hcl-mode
.
Code formatting
doom-module::tools terraform does not provide code formatting directly, but doom-module::editor format works with Terraform files.
Code navigation
Code navigation is supported through doom-package:imenu from doom-package:terraform-mode.
Code completion
Code completion of Terraform builtins is provided from doom-package:company-terraform and generally works well despite being generated through a static (outdated) file.
doom-package:company-terraform also provides code completion of resources within your project.
Documentation
Documentation is accessible through the normal doom-package:company show documentation functionality, thanks to doom-package:company-terraform.
Executing Terraform commands
doom-module::tools terraform provides commands under <localleader> to run the most common Terraform operations:
key | description |
---|---|
<localleader> i | Runs $ terraform init |
<localleader> p | Runs $ terraform plan |
<localleader> a | Runs $ terraform apply |
TODO Configuration
This module has no configuration documentation yet. Write some?
Troubleshooting
There are no known problems with this module. Report one?
Frequently asked questions
This module has no FAQs yet. Ask one?
TODO Appendix
This module has no appendix yet. Write one?