Disable italic syntax highlighting in VS Code

Viewed 12214

Some words (function, if, else, return, etc) are automatically formatted to italic is VS Code. How can I disable this behavior?

spam

3 Answers

You can add those configuration into your settings.json file:

...       
"editor.tokenColorCustomizations": { 
            "[Material Monokai High Contrast]": {
                "textMateRules": [
                    {
                        "scope": "entity.name.function",
                        "settings": {
                            "foreground": "#9DFF00",
                            "fontStyle": ""
                        }
                    }
                ]
            },
        }

[Material Monokai High Contrast] : The theme you want modify.

You can try use ctrl + space as well to autocomplete and help you on that.

Related