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

Suggestion: Add ability to Find/Replace in selection #8787

Closed
dilijev opened this issue Jul 6, 2016 · 5 comments
Closed

Suggestion: Add ability to Find/Replace in selection #8787

dilijev opened this issue Jul 6, 2016 · 5 comments
Assignees

Comments

@dilijev
Copy link

dilijev commented Jul 6, 2016

  • VSCode Version: Code - Insiders 1.3.0-insider (a1293f5, 2016-07-05T13:09:46.271Z)
  • OS Version: Windows_NT ia32 10.0.10586

Steps to Reproduce:

  1. Select some text
  2. Use Ctrl+F or Ctrl+H
  3. Observe that there is no way to find matches and replace all occurrences within the selection.

Side note: would also be nice if there was some way to indicate to "Change All Occurrences (Ctrl+F2)" a range in which to create the cursors.

@isidorn
Copy link
Contributor

isidorn commented Jul 6, 2016

We actually already support this - try out the 'Find in selection' button in the find widget

selectionfind

@isidorn isidorn closed this as completed Jul 6, 2016
@dilijev
Copy link
Author

dilijev commented Jul 6, 2016

Ah thanks. I didn't even notice that button. Maybe it would make sense to make that selected by default when a text selection is made at the time the find widget is opened?

@isidorn
Copy link
Contributor

isidorn commented Jul 6, 2016

I believe that might have been the previous behavior but we have reverted that due to some reason - I can not remember why.

@tbfleming
Copy link

Is there a way to do this without using the mouse?

@isidorn
Copy link
Contributor

isidorn commented Jul 7, 2016

@tbfleming yes my pressing ctrl + f and the tab key and lot of times and then a space. I know this is not the best so please file a feature request to create a global workbench command to enable find in selection

@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
None yet
Projects
None yet
Development

No branches or pull requests

3 participants