【问题标题】:VS Code color coding for comments in Django TemplatesDjango 模板中注释的 VS Code 颜色编码
【发布时间】:2018-11-25 21:46:10
【问题描述】:

我可以编写自定义规则来对 Django 模板中的 cmets 进行颜色编码吗?

文件 *.html 要触发的标记示例

{% comment %}
Text in the comment.
{% endcomment %}

我认为 Django Snippet 插件不会这样做,但我可能是错的。

我希望该代码根据我当前的主题显示为注释掉。

谢谢!

【问题讨论】:

    标签: django django-templates visual-studio-code


    【解决方案1】:

    我使用plugin called Django Template,它突出显示了 cmets:

    【讨论】:

    猜你喜欢
    • 2019-02-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-26
    • 2020-12-12
    • 2012-03-17
    相关资源
    最近更新 更多