问题
I am trying to change certain colors in my instance of VS Code. I know how to change colors ("workbench.colorCustomizations"
setting + Prop Names), but I don't know how to get the current color scheme since the value of the above-mentioned setting is {}
.
So, the question is:
How do I get colors of the specific part of the theme of my Visual Studio Code?
For example a color for gitDecoration.ignoredResourceForeground
, which I am trying to change.
回答1:
Execute from command palette:
Developer: Generate Color Theme From Current Settings
Commented colors - the ones that get default values.
You can also toggle chrome console:
Developer: Toggle Developer Tools
Or get some colors in active editor:
Developer: Inspect TM Scopes
来源:https://stackoverflow.com/questions/47970372/how-to-get-the-colors-of-the-current-theme-in-vs-code