VS代码-HTML编辑器-禁用结束标记光标(镜像光标)

问题描述 投票:-1回答:1

[在VS Code中编辑HTML文件时,将键盘光标置于开始标记中,第二个光标出现在结束标记中。

如何禁用此功能?

enter image description here

html vscode-settings
1个回答
3
投票

此功能称为HTML镜像光标,它已在v1.41.1-2019年11月引入。

要禁用它,请在您的settings.json中添加此行

  "html.mirrorCursorOnMatchingTag": false

您可以在https://code.visualstudio.com/updates/v1_41#_html-mirror-cursor上了解更多有关它的信息>

© www.soinside.com 2019 - 2024. All rights reserved.