You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, congratulations, it's an excellent extension! When I teach, I recommend it to my students. The only problem I find is that when commenting code in Django templates, the code doesn't change to the comment color, as it does with other extensions. It would also be great if you could add simple formatting like the one in djhtml, which simply indents. Thank you very much for your work!
The text was updated successfully, but these errors were encountered:
To address your first problem,
The django official documentation doesn't use comment color inside comment block({% comment %}{% endcomment %}). Only comment({# #}) syntax has comment color.
And for formatting,
You can use https://github.com/junstyle/prettier-plugin-django, if you are using Prettier. Which is also used in the Django Template Support extension by junstyle.
Currently, I don't think there is any vscode extension for djhtml. And I don't have any plan to work on supporting djhtml in this extension. Because I am building a full-stack framework on top of django called Picomet. Which has its own html based template language.
But if someone sends a pull request for supporting djhtml, I will definitely merge it.
First, congratulations, it's an excellent extension! When I teach, I recommend it to my students. The only problem I find is that when commenting code in Django templates, the code doesn't change to the comment color, as it does with other extensions. It would also be great if you could add simple formatting like the one in djhtml, which simply indents. Thank you very much for your work!
The text was updated successfully, but these errors were encountered: