本文介绍了Visual Studio代码删除标签突出显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在光标停留在标记上时删除标记的突出显示.例如,Visual Studio Code显示了这样的段落标签:[<]p[>]
,我希望它在此显示为<p>
.参见图片示例.
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>
. See image for an example.
推荐答案
在您的settings.json中放:
In your settings.json put:
"editor.matchBrackets":否,
"editor.matchBrackets": false,
这将停止您看到的行为,但将对所有受支持的语言(例如javascript)执行此操作.您可以通过:
That will stop the behavior you see, but will do it for all supported languages (so also javascript for example). You can change that setting for only html by :
"[html]": {
"editor.matchBrackets": false
}
这篇关于Visual Studio代码删除标签突出显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!