VS code theme | change color if function type is any

Viewed 76

VsCode Default Dark Them

When a function exist, the color is yellow

enter image description here

And its white when the functin is of type any

enter image description here

Using a custom theme (SynthWave '84)

Color stays the same in both case

enter image description here enter image description here

How do I do it that the custom theme shows white color if the function is of type Any

1 Answers

Please try adding this code to your setting.json:

    "editor.tokenColorCustomizations": {

        "[your theme name]": {
            "textMateRules": [
                {
                    "scope": "meta.function-call",
                    "settings": {
                        "foreground": "#ffffff"
                    }
                },
            ]
        }
    },
Related