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

Hope to add function of 'Find All' #10161

Closed
lix0x7 opened this issue Aug 5, 2016 · 4 comments
Closed

Hope to add function of 'Find All' #10161

lix0x7 opened this issue Aug 5, 2016 · 4 comments
Labels
editor-find Editor find operations feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@lix0x7
Copy link

lix0x7 commented Aug 5, 2016

Thanks to all of you for making such perfect product.

  • I make the issue to request a new function 'Find All', which means I can enter the multiple-cursor mode when I have done the find operation.

The step is as below:

  1. Find something, usually a regular expression.
  2. I hope that i can click a button such as 'Find All', the vs code will insert cursor at every end of finding result. It is very useful when I want to do batch insert operation.

This is the function all i want. The gif is as below.

muti-cursor

At last, thx again!

@alexdima
Copy link
Member

alexdima commented Aug 5, 2016

We have a PR for this (#7559), but we need to figure out some UX first -- in the meantime you can use alt+enter in the find input.

@alexdima alexdima added the feature-request Request for new features or functionality label Aug 5, 2016
@alexdima alexdima added this to the Backlog milestone Aug 5, 2016
@lix0x7
Copy link
Author

lix0x7 commented Aug 5, 2016

@alexandrudima thank you for reply! I will wait for it~

@alexdima alexdima added editor-find Editor find operations editor labels Aug 29, 2016
@alexdima alexdima removed their assignment Aug 29, 2016
@siegebell
Copy link

@leafli7 you could also try the incremental-search extension.

For your example, either:
a) create a new cursor for each line (ctrl+alt+down), type ctrl+i, type 9, and then press enter; or
b) with just one cursor, type ctrl+i, type 9, type shift+alt+i 8 times (to add to the selection), and then press enter.

@alexdima alexdima removed the editor label Nov 24, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented May 1, 2019

Closing this issue as out of date.

You can use the Select all occurrences of find match command to do something similar to what was originally requested

@mjbvz mjbvz closed this as completed May 1, 2019
@mjbvz mjbvz added the *out-of-scope Posted issue is not in scope of VS Code label May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor-find Editor find operations feature-request Request for new features or functionality *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

4 participants