I added this code to my setting.json
"editor.tokenColorCustomizations": {
"comments": "#00ff00"
}
But It doesn't change the color for slashes as you can see the below screenshot.
It remains still grayed.
How can I change the whole comment color contains slashes?
The comments definition (// or # for other languages) can be customized with the
punctuation.definition.comment
scope in thetextMateRules
array.Example:
You can see the scopes of all the command
Inspect TM Scopes
in the command palette.It looks like the comment punctuation colorCustomization may be corrected - that is, the
punctuation
like//
may be included in thecomment
scope in the October 2018 release. It is an open issue but was added to the October 2019 milestone, see https://github.com/microsoft/vscode/milestone/102.So that the comment punctuation would no longer need to be separately colored.
It is fixed in the Insider's Build as of October 25, 2019 so that
will color the comment body and punctuation/marker as well.