惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

MyScale Blog
MyScale Blog
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
雷峰网
雷峰网
V
Visual Studio Blog
G
Google Developers Blog
Microsoft Azure Blog
Microsoft Azure Blog
Hugging Face - Blog
Hugging Face - Blog
爱范儿
爱范儿
IT之家
IT之家
Engineering at Meta
Engineering at Meta
Microsoft Security Blog
Microsoft Security Blog
aimingoo的专栏
aimingoo的专栏
大猫的无限游戏
大猫的无限游戏
M
MIT News - Artificial intelligence
月光博客
月光博客
A
About on SuperTechFans
B
Blog RSS Feed
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium
J
Java Code Geeks
云风的 BLOG
云风的 BLOG
Blog — PlanetScale
Blog — PlanetScale

博客园 - yiyide266

[Express.js]next()函数的作用 [css]浏览器默认样式 have的实质 This comes after Chinese authorities announced an investigation against Mayday, in response to a viral video. [Linux]终端ssh远程连接如何保持 [PHP]PDO的dsn对mysql的连接影响 [PHP]回调函数参数(callable类型)的一些细节 [javascript]端序(endian)和Buffer对象的read|write系列函数 intend,intent和indent [css]一个块格式化上下文(BFC)阻止外边距重叠的示例 [PHP_yaf]内部注册到spl_autoload的方法 [PHP_yaf]Yaf_Application [PHP_yaf]写在用户代码的配置项 [PHP_yaf]保存在php.ini中的配置项 [PHP]spl_autoload函数栈的向下遍历机制 [英语单词]关于战争 [MySql]1820错误码重置密码方法 [Linux]信号捕捉函数总是第一时间执行 [Linux]信号捕捉函数与exec
vscode处理HTML标签两个光标的问题
yiyide266 · 2022-11-19 · via 博客园 - yiyide266

问题概述

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

版本信息

vscode 1.41.1

问题重现

这个新feature的本意应该是自动识别相同tag,一起编辑,但是体验没做好(至少vim下编辑html体验没做好),而且还默认启用了,严重影响编辑。
[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-xHfD3woq-1580052072365)(https://cdn.liushiming.cn/img/vscode-multi-cursor-problem.gif)]

解决方案

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