Set Attribute Color to specify on a Thema in VS CODE

Asked

Viewed 179 times

0

Personal I am trying to change the colors only of the items to the left of an object in js and totally unsuccessfully I want to change the color of the words I marked in red, help me Plz

Exemplo de objeto no JS

inserir a descrição da imagem aqui

I tried to go to Setting and add the following command

 "editor.tokenColorCustomizations": {
        "[Material Theme]": {
            "textMateRules": [
                {
                  "scope": [
                    //following will be in italic (=FlottFlott)
                    "comment",
                    "entity.name.type.class", //class names
                    "keyword", //import, export, return…
                    "constant", //String, Number, Boolean…, this, super
                    "storage.modifier", //static keyword
                    "storage.type.class.js", //class keyword
                    "constant.numeric.json",
                    "constant.numeric.javascript",
                    "storage.type.class.js",
                    "storage.modifier"
                  ],
                  "settings": {
                    "fontStyle": "italic",
                    "background": "#FF0000"
                  }
                }
            ]

but I had no success, help

  • https://www.lambda3.com.br/2015/10/visual-studio-code-3-customization/ this may help you

  • https://stackoverflow.com/questions/35926381/change-highlight-text-color-in-visual-studio-code this tbm

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.