Adson Cicilioti
Adson Cicilioti

Reputation: 153

VS Code - How to make brackets, parentheses, and square brackets bold

enter image description here

I love this color theme but I hate how much the curly brackets, square brackets, and parentheses are washed out.

The curly brackets I managed to leave bold.

    "editor.tokenColorCustomizations":
    {
        "textMateRules":
        [{
            "scope": ["punctuation"],
            "settings": {"fontStyle": "bold"}
        }]
    },

It improved a little, but the parentheses and square brackets are still very faint. I'm testing other settings, but I can't find which ones affect the parentheses and square brackets.

Any help is welcome.

Upvotes: 0

Views: 938

Answers (1)

Adson Cicilioti
Adson Cicilioti

Reputation: 153

I found the solution! I opened the Command Palette Ctrl+Shift+P and ran the Developer: Inspect Editor Tokens and Scopes function, and clicked on the characters that showed me the scope that takes care of customizing that character.

After discovering the scope, I simply edited the respective settings in settings.json:

"editor.tokenColorCustomizations":
{
    "textMateRules":
    [{
        "scope": ["punctuation"],
        "settings": {"fontStyle": "bold"}
    }]
},

Upvotes: 1

Related Questions