PyCharm: auto-insert Django template closing-tags ( {% endif %} {% endfor %} , etc. ) option?
I've yet to find a setting that will enable auto-insert开发者_C百科ion of these closing tags, similar to how closing HTML tags are handled.
Is this even possible?
Just hit tab after if
{% if<tab>
and you get
{% if <cursor> %}
{% endif %}
This works for many tags: for
, block
, filter
, spaceless
, with
, but inexplicably not blocktrans
, autoescape
, and comment
changes to <comment></comment>
精彩评论