You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever any HTML tag is selected, and cursor is moved using shift plus left/right key, a mirror selection of text happens in editor from position where it finds HTML end tag, thereby selecting non-continuous region
3-4 seconds GIF of screen potion is attached for precise understanding of issue
VSCode Version: 1.41.1
OS Version: Windows 10 x64
Steps to Reproduce:
Just place cursor anywhere in HTML tag start
Press Shift + Right key
Go on selecting few character
Editor starts selecting text simultaneously from the HTML tag end position too
Does this issue occur when all extensions are disabled?: Yes
Activity
vscodebot commentedon Feb 6, 2020
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
bergamin commentedon Feb 11, 2020
Having the same issue:
Shift+End:
Shift+Arrow:
Which will cause a mild rage after hitting delete in such a situation when the end tag is not visible
Until this and #87067 aren't fixed, I'm turning off this feature
octref commentedon Feb 11, 2020
This is a feature called "Mirror Cursor", which adds a multi-cursor when you are inside a HTML tag, and this is the expected behavior of multi-cusor.
You can turn this feature off by `"html.mirrorCursorOnMatchingTag": false" or press ESC to dismiss the multi-cursor before selection.
Or you can wait for implementing #88424 which will duplicate content changes, but not selection.