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

Command D case sensitive option #34548

Closed
ramya-rao-a opened this issue Sep 17, 2017 · 2 comments
Closed

Command D case sensitive option #34548

ramya-rao-a opened this issue Sep 17, 2017 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-multicursor Editor multiple cursor issues
Milestone

Comments

@ramya-rao-a
Copy link
Contributor

From @xmattstrongx on September 16, 2017 14:50

Command D - Add Next Occurrence

I have found this shortcut to be a nice substitute for a refactor command that you may find in other IDEs. Unfortunately there does not seem to be an option to do this in a case sensitive manner.

image

It would be nice if this option could either be configurable to be case sensitive or perhaps to have another shortcut that could function the same as Command D but in a case sensitive manner.

Copied from original issue: microsoft/vscode-go#1217

@yume-chan
Copy link
Contributor

yume-chan commented Sep 18, 2017

In fact when you hit Ctrl + D, there is a little toolbar appears at the top-right of the editor, to let you toggle search options.

Shortcuts are Alt + C for case sensitive, Alt + W for match whole word, and Alt + R for using regular expressions (is it meaningful to use regular expressions to find occurrences?).

The shortcuts only work when the search panel is not shown, or it will apply to the search panel.

@alexdima alexdima added the editor-multicursor Editor multiple cursor issues label Sep 20, 2017
@alexdima
Copy link
Member

alexdima commented Oct 23, 2017

I believe this is resolved with PR #36682 (for #8869) . When starting with a collapsed selection, Command+D will now search with wholeWords: true and caseSensitive: true.

@alexdima alexdima added this to the October 2017 milestone Oct 23, 2017
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Oct 23, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 7, 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) editor-multicursor Editor multiple cursor issues
Projects
None yet
Development

No branches or pull requests

3 participants