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

[Ctrl]+[D] adjacent text extends selection instead of selecting seperately #15835

Closed
martin-sweeny opened this issue Nov 21, 2016 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@martin-sweeny
Copy link

  • VSCode Version: 1.8.0-insider
  • OS Version: Windows 10

Steps to Reproduce:

  1. Type aaaaa
  2. Select the first character
  3. Press Ctrl+D several times

Expected Behaviour:

  • The editor will select the following occurrences of a until all individual a's are selected.

Actual Behaviour:

  • The editor adds the following a to the current selection on each time that Ctrl+D is pressed. This means that the second time, you are not selecting the next occurrence a but aa and the third time you are adding aaaa to your selection

This is important. A common use case would be when you want to change the characters individually, or when you want to add characters in between them.

With Sublime, you can select all the characters (individually) as expected:

image

With VS Code, you can't even select them all, and it's one long selection (rather than several distinct ones):

image

@alexdima
Copy link
Member

Dup of #11150

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 30, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
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