Skip to content
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

Support JSON property name #40

Open
inouetakuya opened this issue Apr 8, 2023 · 1 comment · May be fixed by #41
Open

Support JSON property name #40

inouetakuya opened this issue Apr 8, 2023 · 1 comment · May be fixed by #41

Comments

@inouetakuya
Copy link

I think it would be easier to see the JSON property names and values in a different color, as in the JetBrains IDE.

VSCode Darcula theme

Pasted image 20230408184034

JetBrains IDE(RubyMine)

Pasted image 20230408183821

@inouetakuya
Copy link
Author

The color of JSON property names can be changed by setting the following in Settings.json.

{
    "editor.tokenColorCustomizations": {
        "[Darcula]": {
            "textMateRules": [
                {
                    "name": "JSON Property Name",
                    "scope": "support.type.property-name.json",
                    "settings": {
                        "foreground": "#9876AA"
                    }
                }
            ]
        }
    }
}

After

Pasted image 20230408184239

@inouetakuya inouetakuya linked a pull request Apr 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant