Vscode中TODO
高亮
1. 安装插件
2. setting.json中配置
- 和之前的配置同级就可以,最外层的
{}
直接配置todohighlight.keywords
"todohighlight.keywords": [
{
"text": "TODO",
"color": "red",
"backgroundColor": "yellow"
},
{
"text": "MOCK",
"color": "white",
"backgroundColor": "#ffab00"
}
]
如下图所示粘贴位置
