-
Notifications
You must be signed in to change notification settings - Fork 30k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic multiple cursor on HTML tags #87271
Comments
(Experimental duplicate detection)
|
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
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 |
Finally found how to disable that. |
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: #87737 (comment) in the upcoming release |
This has been driving me nuts! Thank you! |
Steps to Reproduce:
<div></div>
5. VSC automatic create a new cursor in the closing tag
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: