Visual Studio Code remove tag highlight

和自甴很熟 提交于 2019-12-23 13:13:45

问题


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.

Example image


回答1:


In your settings.json put:

// Highlight matching brackets when one of them is selected.

"editor.matchBrackets": false,

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
}


来源:https://stackoverflow.com/questions/47200387/visual-studio-code-remove-tag-highlight

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!