Skip to content

"dumber" implementation of matching pairs #673

Closed
@AndreasArvidsson

Description

@AndreasArvidsson

Sometimes I feel that I would want to have a dumber version of matching pairs.

For example I had this code <div value={"foo"}></div> and I should have said "paste to string" but I incorrectly said "paste to inside" and ended up with <div value={""bar""}></div>.
My first instinct was that I now have too many bounds so I said "chuck bounds" which of course gave me <div value=""bar""></div>.

An implementation of matching pair that just looks to the left and to the right of the selection would be preferable in most cases I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions