to be
a problem slover

解决vscode出现两个光标的问题

问题概述

今天用vscode的vim模式编辑html文件时,发现光标移动时会自动出现两个光标。插入或者删除文字时,会同时修改两处地方。一开始我以为是vscode的新功能,只是我不会用,但是很快发现,真的是没法用。网上搜索一通在vscode的github issue里找到关闭多个光标的方法。

版本信息

vscode 1.41.1

问题重现

这个新feature的本意应该是自动识别相同tag,一起编辑,但是体验没做好(至少vim下编辑html体验没做好),而且还默认启用了,严重影响编辑。

解决方案

perference > 搜索html.mirrorCursorOnMatchingTag > 去掉勾选

参考链接

https://github.com/Microsoft/vscode/issues/66634

赞(8) 打赏
欢迎转载,注明出处:刘世明的博客 » 解决vscode出现两个光标的问题

评论 4

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
  1. #1

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you.

  2. #2

    I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article.

  3. #3

    Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://www.binance.info/fr-AF/register?ref=JHQQKNKN

  4. #4

    Your article helped me a lot, is there any more related content? Thanks!

觉得文章有用就打赏一下作者

支付宝扫一扫打赏

微信扫一扫打赏