KamiKillertO / vscode-colorize

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

Not support in .tsx file #904

Closed chenweiyi closed 4 months ago

chenweiyi commented 4 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 3 months ago

what was the solution for this?

chenweiyi commented 3 months ago

add typescriptreact in colorize.languages