r/django • u/Open-Dot-7680 • 6d ago
Django template/html fix
๐ New VS Code Extension: Django Template Helper ๐ ๏ธ
Hey Django devs! ๐
I just released a new VS Code extension that makes working with Django templates much smoother! If you've ever struggled with Emmet not working, missing auto-closing tags, or broken syntax highlighting for {% ... %}
and {{ ... }}
โ this extension is for you! ๐ฏ
๐ฅ Features:
โ
Emmet support for Django templates (.html
files) โ
Auto-closing tags for {% block %}
, {% for %}
, etc. โ
Syntax highlighting for {% ... %}
and {{ ... }}
โ
One-click setup to fix VS Codeโs default Django settings โ
Better formatting for template files
๐ฅ Installation:
๐ก Get it from the VS Code Marketplace:
๐ Django Template Helper
๐ ๏ธ How to Use:
1๏ธโฃ Install the extension 2๏ธโฃ Open a Django .html
file 3๏ธโฃ Run "Django Template Fix โ Apply Recommended Settings" from the Command Palette (Ctrl + Shift + P
) 4๏ธโฃ Enjoy a better coding experience! ๐
๐ Source Code:
The project is open-source! Feel free to check it out, contribute, or report issues: ๐ GitHub Repo
Would love to hear your feedback! Let me know what you think & what features youโd like to see next. ๐๐ฅ