-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't work in JSONC file types #2
Comments
Thanks for posting the feature request! I published a new 1.2.0 which adds a setting to allow people declare arbitrary language to apply the color token detection. jsonc is included in the default value. Theoretically it should work for any other language where color tokens are defined to match this regex: Unfortunately, due to my lack of knowledge, none of the css-json interaction features will work because I don't know which library to use for parsing jsonc documents. |
@YECHUNAN Awesome! For future readers: to make this work with js and react, add this in settings:
|
For those of you trying to enable this feature for python, identifier should be You can look for the language identifier of your interest in the following link. |
Thanks for making this extension. I use it often.
I found that the extension doesn't work for JSONC (json with comments) file types.
Probably not the best place to request this, but I would love to see the color picker show in more file types (like TOML).
The text was updated successfully, but these errors were encountered: