Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

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?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

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

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading