mhmd.io || openDocs

15 VSCode extensions for better Terraform Development

May 05, 2020

vscode-terraform

VSCode has become one of the popular Text editor now days, and one of the primary tools for DevOps Engineers to develop their solutions and running tasks. Using Terraform with VSCode can be productive and useful when you check the following 15 VSCode extensions to supercharged your Terraform Development.

Notes

  • If you are new to DevOps and want to setup your MacOS with super powers for DevOps tasks, check my blog post MacBookPro Setup for DevOps, also you can find VSCode section.

  • You can use the same approach from AWS Cloud9 IDE, check how to connect VSCode to AWS Cloud 9, and install Terraform in my blog post How to access AWS Cloud9 IDE from VSCode?

  • Extensions installation methods

    • click on install link, or
    • Type cmd + shift + p to launch command palette and choose Extensions: Install Extension. Search for package and install.

Changelog

DateChange
05-05-2020Initial post

Demo

demo

1. Terraform

Syntax highlighting, linting, formatting, and validation for HashiCorp’s Terraform

demo


2. Terraform doc snippets

Terraform code snippets (>3400) straight from documentation for all provider resources and data sources. All providers in the terraform-providers org covered.

demo


3. Project Manager

Easily switch between projects

demo


4. Dash

Dash, Zeal and Velocity integration in Visual Studio Code. Dash [an API Documentation Browser and Code Snippet Manager for MacOS] documentation integration for Visual Studio Code

demo


5. GitLens — Git supercharged

Supercharge the Git capabilities built into Visual Studio Code — Visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.

demo


6. Git Graph

View a Git Graph of your repository, and perform Git actions from the graph.

demo


7. gitignore

Language support for .gitignore files. Lets you pull .gitignore files from the https://github.com/github/gitignore repository.


8. Todo Tree

Show TODO, FIXME, etc. comment tags in a tree view

demo


9. Bookmarks

Mark lines and jump to them

demo


10. Better Comments

Improve your code commenting by annotating with alert, informational, TODOs, and more!

demo


11. Bracket Pair Colorizer 2

A customizable extension for colorizing matching brackets

demo


12. indent-rainbow

Makes indentation easier to read

demo


13. Code Spell Checker

Spelling checker for source code

demo


14. Markdown All in One

All you need to write Markdown (keyboard shortcuts, table of contents, auto preview and more)

demo demo demo demo demo


15. markdownlint

Markdown linting and style checking for Visual Studio Code


If you feel there are more extensions that we can add to the list, please leave a comment below.


👋 Salam people, I’m Mohammed Yahya [Almusaddar][محمد يحيى المصدر], from Gaza, Palestine. I’m working on Developing Cloud Solutions and Automation Projects using Pulumi, Terraform, Vault, Ansible and other Open Source tools.

...