Skip to content
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

Handle double-click for mirrored cursors in HTML tags #86950

Closed
Elarcis opened this issue Dec 13, 2019 · 3 comments
Closed

Handle double-click for mirrored cursors in HTML tags #86950

Elarcis opened this issue Dec 13, 2019 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@Elarcis
Copy link

Elarcis commented Dec 13, 2019

Mirrored cursors allow for the same changes to be made on corresponding pairs of tags.

When double-clicking on a word in an opening or closing tag, only the clicked word is selected, without mirroring. It’d be nice for the other word to be selected and mirrored as well.

<!-- For example, if I want to modify that tag, I’m tempted 
to double click one word and type text to replace it -->
<my-tag></my-tag>

<!-- Currently, double-clicking `tag` and typing
`element` gives that annoying result. -->
<my-element></my-tag>

<!-- Instead, it should have selected the matching text 
on the closing element and modified it as well. -->
<my-element></my-element>
@octref
Copy link
Contributor

octref commented Dec 13, 2019

Duplicate of #86052.

@octref octref added the *duplicate Issue identified as a duplicate of another issue(s) label Dec 13, 2019
@vscodebot
Copy link

vscodebot bot commented Dec 13, 2019

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@octref octref closed this as completed Dec 13, 2019
@Elarcis
Copy link
Author

Elarcis commented Dec 13, 2019

Whoops sorry! It didn’t show up in my prior search, guess I should have tried more keywords :P

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants