Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/visual-studio-code/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/svg/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio code VS代码配置,禁用";编辑:匹配括号“;用于html标记_Visual Studio Code - Fatal编程技术网

Visual studio code VS代码配置,禁用";编辑:匹配括号“;用于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中使光标难以区分,那么这可

是否可以为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,
}