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

'Add Selection To Next Find Match' ignores 'editor.wordSeparators' setting #79323

Closed
pedzed opened this issue Aug 16, 2019 · 1 comment
Closed
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@pedzed
Copy link

pedzed commented Aug 16, 2019

VS Code version: Code 1.37.1 (f06011a, 2019-08-15T16:17:25.463Z)
OS version: Linux x64 4.15.0-55-generic snap

Steps to Reproduce:

  1. Double click a word preceded by a dollar (e.g. $myVariable).
  2. Expect: myVariable to be selected with the default editor.wordSeparators setting.
  3. Use the keyboard shortcut of 'Add Selection To Next Find Match' on the same word to do the same thing.
  4. Expect: myVariable to be selected with the default editor.wordSeparators setting.

The first test passes. The second does not. editor.wordSeparators seems to be ignored for the 'Add Selection To Next Find Match' feature.

Default editor.wordSeperators for reference:

"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",

Removing the dollar character results in having $myVariable selected rather than myVariable on a double click (which is as expected). The same should apply to 'Add Selection To Next Find Match'..

Slightly related: #19483

@pedzed pedzed changed the title 'Add Selection To Next Find Match' ignores 'Add Selection To Next Find Match' ignores 'editor.wordSeparators' setting Aug 16, 2019
@alexdima
Copy link
Member

Let's track in #15774

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 20, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 4, 2019
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

3 participants