Visual studio code VS代码配置,禁用";编辑:匹配括号“;用于html标记
是否可以为html标记禁用该设置 我知道我可以为这样的特定文件关闭它Visual studio code VS代码配置,禁用";编辑:匹配括号“;用于html标记,visual-studio-code,Visual Studio Code,是否可以为html标记禁用该设置 我知道我可以为这样的特定文件关闭它 // Highlight matching brackets when one of them is selected. "editor.matchBrackets": true, 但是,此文件中的“javascript”和“php”也将禁用“editor.match括号”。虽然这不是您想要的,但可以更改括号匹配突出显示的视觉样式,例如,显示无边框的背景色。如果您询问的原因是边框框特别是在HTML中使光标难以区分,那么这可
// Highlight matching brackets when one of them is selected.
"editor.matchBrackets": true,
但是,此文件中的“javascript”和“php”也将禁用“editor.match括号”。虽然这不是您想要的,但可以更改括号匹配突出显示的视觉样式,例如,显示无边框的背景色。如果您询问的原因是边框框特别是在HTML中使光标难以区分,那么这可能是一个解决方案。要更改的设置如下:
“workbench.colorCustomizations”:{“EditorCracketMatch.background”:“,“EditorCracketMatch.border”:“}
查看更多信息。谢谢你,Magnus Lind Oxlund爵士,“EditorCracketMatch.border”成功了,恼人的边框消失了:)我使用了黑色主题,因此将其设置为黑色为我修复了它,并有效地消除了括号周围恼人的边界。
"[html]": {
"editor.matchBrackets": false,
},
"[php]": {
"editor.matchBrackets": false,
}