vscode swagger go changed colors

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/

>Solution :

The issue is not related to GO or any framework

Seems like you have mistakenly installed the vs-code extension "bracket-pair-colorizer-2"

Uninstall or disable the extension and the bracket colorization will be gone.

But, personally, i prefer using the bracket colorization as it helps to detect the start and end of the content inside a function

Leave a Reply