Django template support for HTML files in VS Code. Templates keep the built-in html language mode while gaining Django-specific features.
- Syntax highlighting for tags, variables, filters, and comments
- Completions for Django tags, filters, and template paths
- Tooltips with examples and reference links
- Snippets for common tags and filters
- Formatting with Prettier
- 3rd-party package support for popular Django libraries
- VS Code extension: django-templates-ext / VS Marketplace / VSX
- Language server (LSP): django-template-language-server / npm
Requires Node.js 22.18 or later and Vite+.
vp install
vp run watchRun all checks, tests, and builds with:
vp run ready- Svelte Language Tools (repo blueprint)
- django-template-extension (django)
- vscode-django (django)
- vscode-django-support (django)
- prettier-plugin-django-templates (formatting)
Licensed under the MIT license.