Skip to content

CTRL+D problem replacing consecutive characters #37967

@brunoscopelliti

Description

@brunoscopelliti
  • VSCode Version: 1.18.0
  • OS Version: Windows 10

Reproduces without extensions: Yes

I made a screen recording that reproduce the issue:

issue

I want to replace single quotes with double quotes.

So I follow these steps:

  1. Select all the occurrences of single quotes using CTRL+D.
  2. Delete single quotes using backspace.
  3. Type the double quotes char.

I expected that also data-root='' would have been replaced with data-root="".
It has been replaced with data-root=" instead.

The same problem is reproducible with whatever couple of consecutive equal characters;
eg. When I try to replace all the occurences of x with y in xfoox xx xbarx (following the previous steps) I get yfooy y ybary.

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions