【问题标题】:Highlight "&lt;" and "&gt;" in Visual Studio Code在 Visual Studio Code 中突出显示“<”和“>”
【发布时间】:2018-09-25 06:23:44
【问题描述】:

在编写我的 html 文件时,我有很多 &amp;lt;&amp;gt;(作为 的替代品)。

当我想在 Visual Studio Code 中突出显示 &amp;lt;&amp;gt;(比如说黄色)时,我需要使用哪个编辑器? 编辑器在哪里?

【问题讨论】:

    标签: tags visual-studio-code syntax-highlighting highlight


    【解决方案1】:

    Settings Ctrl+,

    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "constant.character.entity.html",
                "settings": {
                    "foreground": "#ffff00",
                }
            },
        ]
    },
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-05-13
      • 1970-01-01
      • 1970-01-01
      • 2016-11-04
      • 1970-01-01
      • 2023-02-13
      • 2019-03-12
      • 2015-08-26
      相关资源
      最近更新 更多