KamiKillertO / vscode-colorize

A vscode extension to help visualize css colors in files
Apache License 2.0
268 stars 37 forks source link

Not support in .tsx file #904

Closed chenweiyi closed 2 months ago

chenweiyi commented 2 months ago

Problem:

It not works in .tsx file, but when i modify file to .ts file, it works.

my vscode settings is below:

"colorize.languages": [
    "javascript",
    "ts",
    "tsx",
    "typescript",
    "vue",
    "css",
    "sass",
    "scss",
    "less",
    "postcss",
    "sss",
    "stylus",
    "xml",
    "svg"
  ],

May I ask, how to set the language so that it takes effect in the .tsx file?

SitrucL commented 1 month ago

what was the solution for this?

chenweiyi commented 1 month ago

add typescriptreact in colorize.languages