but after I ENABLED the C# extension, it became
so I guess that it might mistakenly interprets the syntax.
CodePudding user response:
Probably the C# extension adds new
If you really want to change colours, you can customize your theme in VS code by adding something like the following to your JSON configuration:
"workbench.colorCustomizations": {
"editor.tokenColorCustomizations": {
"textMateRules": [
{
"scope": [
"comment.block.js",
],
"settings": {
"foreground": "#FF0000",
}
},
]
}
}
So what you would have to do:
- Disable the C# Extension
- Use the scope inspector to find out all color values that you would like to keep and write them down somewhere
- Enable the C# Extension again
- Use the scope inspector to find out all scopes of tokens which changed their color
- Add a textmate rule for each scope with the previous colour to your settings