vscode-colorize
vscode-colorize copied to clipboard
colorize: 0 variables detected?
How do I get variable colors.color
to render?
colorize.enable_search_variables is true.


"colorize.languages": [
"css",
"scss",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
"colorize.hide_current_line_decorations": false,
"colorize.colorized_variables": [
"CSS",
],
}
This extension seems to working using text match, but you want using it with runtime variable value...
This extension seems to working using text match, but you want using it with runtime variable value...
The extension does offer variable matching functionality with colorize.colorized_variables
That for css variable or othe css pre-precess language, not for other languages which need to run. Css can be analyzed using lsp or ast parser, but ts is a script language, for a variable, that value should be know only after run it. For a browser ts code, how you know the value of it?