Custom colors should be added. There's really no reason it should be limited to ansi colors. Especially since some of them are quite ugly or off-hue for some colors in some themes. As an example TODO Highlight supports a lot of formats: #ABC, #AABBCC, #AABBCCDD, rgb(0, 0.5, 1), rgba(0, 0.25, 0.50, 0.75), and seems to support color names. My usecase is fixing syntax highlighting of variable substitutions {name} for a Rust macro I made.
As a workaround, you can override your theme's ansi colors in settings.json
"workbench.colorCustomizations": {
// Darkplus variable blue
"terminal.ansiBrightCyan": "#9cdcfe"
},
Custom colors should be added. There's really no reason it should be limited to ansi colors. Especially since some of them are quite ugly or off-hue for some colors in some themes. As an example TODO Highlight supports a lot of formats:
#ABC
,#AABBCC
,#AABBCCDD
,rgb(0, 0.5, 1)
,rgba(0, 0.25, 0.50, 0.75)
, and seems to support color names. My usecase is fixing syntax highlighting of variable substitutions{name}
for a Rust macro I made.As a workaround, you can override your theme's ansi colors in
settings.json