-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Mirror cursor breaks HTML tags #86978
Comments
Also faced this quite a lot as this is a very common operation. Related to this is ctrl+shift selecting out of the element tag name. I'd like to work on. The fix would be to exit mirror mode if the selection is not empty and we reach a none-matching state. |
@yuc0n Yeah looking at the current implementation, there's no support at all for multiple cursors. That's gonna take some work for the behavior to work correctly. |
This feature doesn't work well with extension vim too, have to shut it down. |
The fix will be available in https://code.visualstudio.com/insiders/ until next month's release. |
Steps to Reproduce:
See the following gif:
I first enter the
ng-template
tag which activates multicursor, then I use the key combi to select and jump to the end of the line, go one back and use "Backspace" to delete the attribute.This is a common operation, but now with mirror cursors it might break the HTML as seen in the gif above. Moreover, if the opening & closing tag are further apart, one might not even notice the HTML is broken.
Does this issue occur when all extensions are disabled?: Yes
The text was updated successfully, but these errors were encountered: