Visual Studio Code显示从开括号到闭括号的行。

huangapple go评论54阅读模式
英文:

visual studio code displaying the line from the opening curly brace, then closing curly brace

问题

当我在Linux上使用Visual Studio Code时,有一条从一个花括号到另一个的标记线。我不知道是什么负责显示它,也许是某种扩展。但在切换到Windows后,我再也看不到它了,尽管我似乎安装了相同的扩展。我不知道它叫什么,如何恢复它,也许有人知道吗?

英文:

When I worked in visual studio code on linux, there was such a strip from one curly brace to another. I do not know what was responsible for its display, maybe some kind of extension. But after switching to Windows, I don't see them anymore, although I seem to have installed the same extensions. I do not know what it is called and how to return it, maybe someone knows?

Visual Studio Code显示从开括号到闭括号的行。

答案1

得分: 0

这是 editor.guides.bracketPairs 设置。默认值是 false 当未指定时,所以你必须在你的用户设置.json文件或工作区.vscode/settings.json文件中将其设置为 true。找出你在哪里设置了它,要么将其设置为 false,要么删除那行以获得 false 作为默认值。

英文:

This is the editor.guides.bracketPairs setting. The default value is false when it's not specified, so you must have set it to true in your user settings.json file or in your workspace .vscode/settings.json file. Find out where you set it and either set it to false or remove that line to get false as the default value.

huangapple
  • 本文由 发表于 2023年2月10日 14:32:35
  • 转载请务必保留本文链接:https://go.coder-hub.com/75407640.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定