How can I get Python's code coloring for Go code in VS code?

Answer #1 100 %

Modify in the settings.json file using:

// Just an example

    "editor.tokenColorCustomizations": {
        "[Abyss]": {
            "textMateRules": [
                {
                    "scope": "meta.function-call",
                    "settings": {
                        "foreground": "#ffffff"
                    }
                },
                {
                    "scope": "entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution",
                    "settings": {
                        "fontStyle": ""
                    }
                },
            ]
        }
    },

Use Ctrl + Space as you write and you'll get more configuration suggestions to use.

You’ll also like:


© 2023 CodeForDev.com -