Terraform Editor

A fast, modern editor for Terraform—crisp syntax, smart tooling, and no distractions.

Try Terraform in Zed

Powered by Tree-sitter

Precise Syntax Highlighting

HCL syntax—resources, variables, and modules—is highlighted clearly for IaC workflows.

Semantic Understanding

Tree-sitter parses your code into a syntax tree, enabling features like code folding, selection expansion, and precise highlighting.

Instant Updates

Syntax highlighting updates in real-time as you type, with no lag or delay even in large files.

Error Recovery

Even with syntax errors, Tree-sitter maintains accurate highlighting for the rest of your code.

Language Server Protocol

Full Terraform LSP Integration

Zed provides intelligent code completion, diagnostics, and refactoring capabilities for Terraform through seamless language server integration.

Popular Extensions

Enhance Zed with popular extensions from our growing ecosystem.

Browse all extensions

Debugging Support

Terraform Debugging

While native Terraform debugging isn't available yet, Zed offers powerful debugging capabilities for other languages with full DAP support.

Learn about Zed's Debugger

Debug Adapter Protocol

Zed supports the Debug Adapter Protocol (DAP) for standardized debugging across multiple languages.

Universal Debugging Features

Breakpoints, variable inspection, call stack navigation, and step-through debugging when supported.

Why Zed

Built for Modern Terraform Development

Experience features that make Terraform development faster and more enjoyable.

Download Zed

Fast

Open large Terraform projects instantly. Navigate & edit with zero lag, even in massive codebases.

Agentic

Generate Terraform code, write tests, and refactor with integrated AI that understands your context.

Collaborative

Pair program, debug together, and share your Terraform projects with your team in real-time.