Vscode appear to solve the problem of two cursors

Reprinted from my independent blog: https://liushiming.cn/2020/01/20/vscode-two-cursors-in-vim-mode/

Overview of issues

Today editing html file with vim mode vscode found two cursor will automatically appear when the cursor moves. When you insert or delete text, it will also amend two places. At first I thought it was a new feature vscode, but I will not use, but soon found that really is not used. Online search methods to find close multiple cursors in vscode in the github issue a pass.

Version Information

vscode 1.41.1

To reproduce the problem

This new feature of intention should automatically recognize the same tag, edited together, but the experience did not do a good job (vim editor html experience at least did not do), but also enabled by default, seriously affecting editor.
[Image dump the chain fails, the source station may have security chain mechanism, it is recommended to save the picture uploaded directly down (IMG-xHfD3woq-1580052072365) ( https://cdn.liushiming.cn/img/vscode-multi-cursor-problem .gif )]

solution

perference> Search html.mirrorCursorOnMatchingTag> remove the tick

Reference links

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

Guess you like

Origin www.cnblogs.com/huahuayu/p/12235244.html