8

This is not a duplicate of how to configure theme options, that is clear from answers like this.

I'd like to modify or tweak the current setting, meaning: I'd like to load what is currently configured. For example the value currently configured for editor.tokenColorCustomizations["[Cobalt2]"]["comments"]["foreground"] to be able to tweak it a bit, say making the color more bright.

When I load this key in the User Settings I see a color red ("#FF0000) as default, which is obviously not what the theme has.

I know I can 1) open the cobalt2.json 2) find the setting and 3) copy/paste in my User Settings. But I was looking for a more friendly/easier approach.

Is there a more friendly/easier approach? How can I preload the current setting in my User Settings?

tadman
  • 208,517
  • 23
  • 234
  • 262
arod
  • 13,481
  • 6
  • 31
  • 39

1 Answers1

15

You can use this command from command palette:

Developer: Generate Color Theme From Current Settings

to see all the colors defined. If you have overwritten some colors in settings.json that change will be reflected too.

Command to assign to a keybinding: workbench.action.generateColorTheme.

Also, there is an open issue to fill the current value in settings: #25633

Alex
  • 59,571
  • 22
  • 137
  • 126