Incorrect brackets color in JSDoc comments
#187.307 geöffnet am 07.07.2023
Repository-Metriken
- Stars
- (184.936 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 11h 43m) (1.000 gemergte PRs in 30 T)
Beschreibung
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.80.0
- OS Version: Windows 10 22H2 19045.3086
Steps to Reproduce:
-
Change color of JSDoc comments' brackets in your theme file for scopes "punctuation.definition.bracket.curly.begin.jsdoc" and "punctuation.definition.bracket.curly.end.jsdoc".
-
Reload window or restart editor. And you'll see no difference. Brackets's color is the same as for all the code. Theme JSDoc color doesn't affect global color, and it looks ugly.
-
If you inspect colors by "Inspect Editor Tokens And Scopes" function, you'll see that inspector show the right color, but editor shows the global color as at the screenshot. Comment's brackets' color must be the same as "string" and "object" words' color as I made them the same in my theme:
{
"name": "JSDoc Instance and brackets",
"scope": [
"entity.name.type.instance.jsdoc",
"punctuation.definition.bracket.curly.begin.jsdoc",
"punctuation.definition.bracket.curly.end.jsdoc",
],
"settings": {
"foreground": "#8e4a91"
}
}