Skip to main content

15 VSCode extensions for better Terraform Development

ยท 4 min read
Mohammed Yahya

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.



  • 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.


05-05-2020Initial post



1. Terraform

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


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.


3. Project Manager

Easily switch between projects


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


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.


6. Git Graph

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


7. gitignore

Language support for .gitignore files. Lets you pull .gitignore files from the repository.

8. Todo Tree

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



Mark lines and jump to them


10. Better Comments

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


11. Bracket Pair Colorizer 2

A customizable extension for colorizing matching brackets


12. indent-rainbow

Makes indentation easier to read


13. Code Spell Checker

Spelling checker for source code


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.