Javascript 使用JSDoc时Visual Studio代码中的注释高亮显示
在VisualStudio代码中,使用注释时,如何确保整个注释块显示为绿色(默认注释颜色) 照原样,我的看起来是这样的: 但我希望它看起来像这样: 如果有帮助的话,我已经安装了扩展,这就是第二个屏幕截图的来源。 将其添加到您的设置(文件->首选项->设置)Javascript 使用JSDoc时Visual Studio代码中的注释高亮显示,javascript,typescript,visual-studio-code,comments,jsdoc,Javascript,Typescript,Visual Studio Code,Comments,Jsdoc,在VisualStudio代码中,使用注释时,如何确保整个注释块显示为绿色(默认注释颜色) 照原样,我的看起来是这样的: 但我希望它看起来像这样: 如果有帮助的话,我已经安装了扩展,这就是第二个屏幕截图的来源。 将其添加到您的设置(文件->首选项->设置) 除了主题设置之外,VSCode似乎没有其他设置。有关更多信息,请查看和。 { "editor.tokenColorCustomizations": { "textMateRules": [ {
除了主题设置之外,VSCode似乎没有其他设置。有关更多信息,请查看和。
{
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "storage.type.class.jsdoc",
"scope":
"storage.type.class.jsdoc,entity.name.type.instance.jsdoc,variable.other.jsdoc",
"settings": {
"foreground": "#608b4e"
}
}
]
}
}