I want to disable multicolored JSDoc comments in Visual Studio Code.
Currently, the JSDoc comments look like this (@param
, etc. is colored something other than the default comment color):
I want the entire comment to be the same default grey color. I tried disabling all extensions and custom user settings, but that didn't affect the JSDoc highlighting. Does anyone know what settings I need to change to fix this? I thought either workbench.colorCustomizations
or editor.tokenColorCustomizations
would have the setting I want to change, but I haven't been able to find it.
Type “editor. hover. enable” into the search field then check/uncheck the checkbox associated with “Controls whether the hover is shown.” to enable/disable the suggestion tooltip on hover.
Thanks to user Binaryify on the One Dark Pro GitHub for showing me the settings that change the JSDoc highlighting in VS Code! Link to the GitHub issue
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"name": "storage.type.class.jsdoc",
"scope":
"storage.type.class.jsdoc,entity.name.type.instance.jsdoc,variable.other.jsdoc",
"settings": {
"foreground": "#7f848eff"
}
}
]
},
Replace the "foreground" color with the color you are using for comments. The color used here is the default gray used in the One Dark Pro theme.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With