Closed ronny closed 5 years ago
Try this and let me know if it worked:
"editor.tokenColorCustomizations": {
"[Night Owl]": {
"comments": {
"foreground": "#FFFFFF",
},
"comment.line.double-slash": {
"foreground": "#FFFFFF",
}
}
}
@sdras Thanks for the suggestion. I tried and it didn't work unfortunately. I also tried this which didn't work either:
"editor.tokenColorCustomizations": {
"comments": {
"foreground": "#FFFFFF",
},
"comment.line.double-slash": {
"foreground": "#FFFFFF",
}
}
Try this:
"workbench.colorCustomizations": {
"comments": {
"foreground": "#FFFFFF",
},
"comment.line.double-slash": {
"foreground": "#FFFFFF",
}
}
Didn't work either π I think it may be an issue with VSCode itself. Thanks for the suggestions (and for the themes!), @sdras.
Ok! I'll close it out then, sorry it's not working. Let me know if you think there's something to be done.
I finally got this to work:
"editor.tokenColorCustomizations": {
"[Night Owl]": {
"comments": {
"foreground": "#ffffff"
},
"textMateRules": [
{
"scope": "comment.line.double-slash",
"settings": {
"foreground": "#ffffff"
}
}
]
}
}
None of these work for meπ₯π₯π₯
Thanks Ronny! I was searching for the exact same issue!
None of these work for meπ₯π₯π₯
The Last script posted by Ronny worked for me. Make sure your theme name is same. My theme name was "Night Owl (No Italics)" but the theme name in script is [Night Owl].
Describe the solution you'd like
I'd like to be able to override comment foreground colour by doing something like this in my user settings:
or
Is your feature request related to a problem? Please describe.
The above override doesn't work for Night Owl, while it works for other themes. I have tried this with double slash comments and
/* .. */
style comments, for Go specifically.Thank you!