antiantisepticeye / vscode-color-picker

let's you use vscode's css color picker in other documents
45 stars 14 forks source link

Doesn't work for JSON #11

Open AMDarter opened 1 year ago

AMDarter commented 1 year ago

Works great for CSS, Javascript/React but not for JSON.

AMDarter commented 1 year ago
"vscode-color-picker.languages": [
        "python",
        "javascript",
        "typescript",
        "json",
        "php",
        "html",
        "css",
        "scss",
        "sass",
        "less",
        "markdown",
        "yaml",
        "graphql",
        "plaintext",
        "jsx"
    ]
thiagobraga commented 1 year ago

Maybe it's related to #6

alexeychikk commented 1 year ago

Add jsonc (JSON with Comments) to the language list:

"vscode-color-picker.languages": ["json", "jsonc", ...]

There is also jsonl (JSON Lines) but I don't even know what's that.