Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode bracket pairs changed colors with v1.67

I was trying out Swagger for Go. But somehow in Visual Studio Code it changed the colors.

Weird looking code colors

Before I installed Swagger the braces and brackets were not pink, yellow or blue. I tried already uninstalling Swagger and Vscode but this didn't help. Any suggestions?

EDIT: I'm using this golang implementation of Swagger: https://goswagger.io/

like image 866
TheQuestioner Avatar asked Sep 03 '25 03:09

TheQuestioner


1 Answers

v1.67 of vscode made colorization of matching brackets the default, see Enable bracket pair colorization by default. So it was just updating vscode to v1.67 that made the change for you.

Editor > Bracket Pair Colorization: Enabled the new default is enabled

Uncheck the box to disable it.

v1.67 Release Notes: Bracket Pair colorization Enabled by Default:

Bracket pair colorization can also be disabled just for specific languages:

"[typescript]": {
  "editor.bracketPairColorization.enabled": false
}
like image 137
Mark Avatar answered Sep 08 '25 03:09

Mark