Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TeraNew to Visual Studio Code? Get it now.
Tera

Tera

Karuna Murti

|
19,541 installs
| (6) | Free
A powerful, easy-to-use template language based on Rust, inspired by Jinja2 and Django Templates.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Tera extension for VS Code

VS Code extension for syntax highlighting and formatting [Tera][tera] templates. Based on https://github.com/danielchatfield/atom-jinja2.

Features

Syntax highlighting for Tera Template.

Screnshot

Requirements

Visual Studio Code. Version 1.19.1 as this extension made.

Snippets

Snippet Description
xx {{ }}
block {% block %} {% endblock %}
inblock Same as above but on a single line
if {% if %} {% endif %}
ifi Same as above but on a single line
ifelse {% if %} {% elif %} {% endif %}
else {% else %}
filter {% filter %} {% endfilter %}
forloop {% for in %} {% endfor %}
extend {% extends "" %}
include {% include "" %}
import {% import "" %}
macro {% macro %} {% endmacro %}

Release Notes

0.0.7

  • Reregister the .tera extension
  • Removed the unused dependencies

0.0.6

  • Tera template file is replaced with HTML for syntax highlighting
  • Snippets work in HTML

0.0.4

  • Added snippets support.

0.0.3

  • Added formatting support.

0.0.1

  • First release. May or may not be maintained.

For more information

  • Tera Template
  • Zola

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft