Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我还没有找到可以自动插入这些结束标记的设置,类似于处理结束 HTML 标记的方式。
这甚至可能吗?
只需在 if 之后点击标签
{% if<tab>
你得到
{% if <cursor> %} {% endif %}
这适用于许多标签:for, block, filter, spaceless, with,但莫名其妙地不是blocktrans, autoescape, 并且comment更改为<comment></comment>
for
block
filter
spaceless
with
blocktrans
autoescape
comment
<comment></comment>