突出显示 Visual Studio 代码中的“<”和“>”
Highlight "<" and ">" in Visual Studio Code
在编写 html 文件时,我有很多 <
和 >
(作为 < 和 > 的替代品)。
当我想在 Visual Studio 代码中突出显示 <
和 >
(比如用黄色表示)时,我需要使用哪个编辑器?
编辑器在哪里?
Settings Ctrl+,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "constant.character.entity.html",
"settings": {
"foreground": "#ffff00",
}
},
]
},
在编写 html 文件时,我有很多 <
和 >
(作为 < 和 > 的替代品)。
当我想在 Visual Studio 代码中突出显示 <
和 >
(比如用黄色表示)时,我需要使用哪个编辑器?
编辑器在哪里?
Settings Ctrl+,
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": "constant.character.entity.html",
"settings": {
"foreground": "#ffff00",
}
},
]
},