Steps to Reproduce:
<div></div>
Does this issue occur when all extensions are disabled?: Yes
(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
It's functions as designed, see HTML mirror cursor
Do you experiencing any bugs with this behavior? Post also contains info how to configure this behavior if needed.
Resolved!
But that wasn't active before the latest update.
Maybe the latest update automatically turned on?
@DezembroYD this is new feature from latest version 1.41 (which was released last week) and it is enabled by default. However you can turn it off if you prefer.
Do you see any bug or problems with this feature? If not could you close this issue?
The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines.
Happy Coding!
As @IllusionMH mentioned, it's a new feature, if you don't like it you can turn it off.
thank you @IllusionMH, i searching name of the feature, and it's named
Mirror Cursor On Matching Tag
in settings, i don't want this feature active, make many of my code have wrong position.
this have issue when your cursor on div or other html tag and move below or above the selected line code, and somewhere in your code just move without permission
It's functions as designed, see HTML mirror cursor
Finally found how to disable that.
I can't make any use of that, only makes me more troubles.
such a bogus feature. remove it or disable by default. More importantly, I was thinking there's some extension doing it.
In my case, every time I started typing an attribute, the mirror cursor was also adding it to the closing tag! Maybe this is because I am working with Angular templates, but it doesn't really matter. This should be an opt-in feature.
This is also particularly dangerous when the closing tag is too far down and not visible. You are then automatically editing something you can't even see.
If you accidentally mis-match your tags it is even worse, as it will modify the wrong closing tag.
This seems like something that should be activated with a keystroke, not automatic.
This is made an opt-in feature: https://github.com/microsoft/vscode/issues/87737#issuecomment-577095726 in the upcoming release
This has been driving me nuts! Thank you!
Most helpful comment
such a bogus feature. remove it or disable by default. More importantly, I was thinking there's some extension doing it.