Search code examples
visual-studio-codesyntax-highlighting

VSCode JavaScript syntax highlighting


I've recently returned to using VSCode after a long break. It seems that after updating, the syntax highlighting colours have changed to this:

after

From this:

before

Does anybody know how to achieve the look in the second image? I really can't stand the inconsistent brace colouring. If this isn't a change made in updates and I'm doing something wrong, please let me know


Solution

  • It appears you want to disable the bracket pairs colorization.

    Here's a blog post from the VSCode team, talking about this new highlighting feature introduced recently : https://code.visualstudio.com/blogs/2021/09/29/bracket-pair-colorization

    To do so, set the following settings to false :

    "editor.bracketPairColorization.enabled": false,
    "editor.guides.bracketPairs": false,