5

I'm working on an extension for Visual Studio Code where I also want to add coloring for a language. However, I'd need more scopes than what is usually defined in a theme file. Of course I could also create an own theme to add what I need (via a themes contribution point), but that's not very user friendly. It would be better if I could just append new scopes to colorize to the existing theme via my extension.

Is this possible and how?

Gama11
  • 31,714
  • 9
  • 78
  • 100
Mike Lischke
  • 48,925
  • 16
  • 119
  • 181
  • 2
    It is a shame this didn't get any responses. I was just thinking the same thing and my search brought me here. I was thinking that if the colors are basically set via a style it should be possible to add a css or json extension point to add additional styles. What I would like to do is to define a "default" style for my language and allow a theme to override my styles. – nickdmax Sep 07 '16 at 17:24
  • Related: [How to customize the color of custom syntax tokens in VSCode extension](https://stackoverflow.com/questions/46377151/how-to-customize-the-color-of-custom-syntax-tokens-in-vscode-extension). – Scott McPeak Sep 07 '19 at 10:09

0 Answers0