[英]Visual Studio Code remove tag highlight
I want to remove the highlighting of a tag when my cursor is on it. 我希望在光标位于其上时删除标记的突出显示。 For example Visual Studio Code shows a paragraph tag like this:
[<]p[>]
where I want it to show like this <p>
. 例如,Visual Studio Code显示如下的段落标记:
[<]p[>]
我希望它显示为这样<p>
。 See image for an example. 有关示例,请参见图片。
In your settings.json put: 在你的settings.json中:
// Highlight matching brackets when one of them is selected.
//选择其中一个时突出显示匹配的括号。
"editor.matchBrackets": false,
“editor.matchBrackets”:false,
That will stop the behavior you see, but will do it for all supported languages (so also javascript for example). 这将阻止您看到的行为,但会为所有支持的语言(例如javascript)执行此操作。 You can change that setting for only html by :
您可以通过以下方式仅为html更改该设置:
"[html]": {
"editor.matchBrackets": false
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.