Vscode支架对用v1.67更改了颜色
我正在尝试招摇。但是以某种方式在Visual Studio代码中它改变了颜色。
在我安装大摇动之前,支架和支架不是粉红色,黄色或蓝色。 我已经尝试了已经卸载的Swagger和Vscode,但这无济于事。有什么建议吗?
编辑:我正在使用Swagger的这种Golang实现: https://goswagger.io/
I was trying out Swagger for Go. But somehow in Visual Studio Code it changed the 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/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
VScode的V1.67匹配括号的默认值,请参见。因此,它只是将VScode更新为V1.67,该V1.67为您进行了更改。
编辑>括号对着色:启用
新的默认值是启用
取消选中该框以禁用它。
v1.67发行说明:默认<默认值< /a>:
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 isenabled
Uncheck the box to disable it.
v1.67 Release Notes: Bracket Pair colorization Enabled by Default:
如果您想将其关闭。
在Windows/Linux上 - 文件&GT;偏好&gt;设置
然后将“支架对配色”取消,
我将其关闭。颜色强调代码的各个部分,我几乎没有兴趣,我发现我的眼睛一直想回到它。
If you want to turn it off.
On Windows/Linux - File > Preferences > Settings
Then untick "Bracket Pair Colorization"
I've turned it off. The colours place emphasis on parts of the code I have little interest and I find my eyes constantly wondering back to it.
该问题与GO无关,或者任何框架
似乎都错误地安装了VS-Code扩展程序“ bracket-pair-colorizer-2”
卸载或禁用扩展名,并且支架着色将消失。
但是,就我个人而言,我更喜欢使用括号着色,因为它有助于检测函数中内容的开始和结尾
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