1

I would like to costumize the colors of functions in VScode, as far as i understand i need to do it in the settings.json file in the workbench.colorCustomizations section. My question is what property should i use in order to change the color of functions? Also is it possible to define a different color for native methods?

{
  "workbench.colorCustomizations": {
    "what key should go here?": "#000000"
  }
}
Mark
  • 143,421
  • 24
  • 428
  • 436
Blueprint
  • 412
  • 1
  • 6
  • 18

1 Answers1

1

So thanks to the answer of Mark, i found out that in order to costumize the scopes' colors i could use the "Inspect Editor Tokens and Scope" from the Command Palette, and then use it like so in the settings.json:

    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": "entity.name.function",
                "settings": {
                    "foreground": "#66d9ef",
                },

            }
        ]
    }

creating a new object with scope and settings for each costumization

Blueprint
  • 412
  • 1
  • 6
  • 18