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

Support find/replace in selection for multiple cursor selections #21792

Closed
Jazcash opened this issue Mar 2, 2017 · 5 comments · Fixed by #98884
Closed

Support find/replace in selection for multiple cursor selections #21792

Jazcash opened this issue Mar 2, 2017 · 5 comments · Fixed by #98884
Labels
editor-find Editor find operations feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities insiders-released Patch has been released in VS Code Insiders verification-needed Verification of issue is requested verified Verification succeeded
Milestone

Comments

@Jazcash
Copy link

Jazcash commented Mar 2, 2017

  • VSCode Version: 1.9.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Make a multi-cursor selection using Shift + Alt + Left click
  2. Find in selection button is greyed out

example

@isidorn isidorn self-assigned this Mar 3, 2017
@isidorn
Copy link
Contributor

isidorn commented Mar 8, 2017

@isidorn isidorn removed their assignment Mar 8, 2017
@isidorn isidorn added feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities labels Mar 8, 2017
@isidorn isidorn added this to the Backlog milestone Mar 8, 2017
@scottpelak
Copy link

scottpelak commented Apr 23, 2018

Please support this feature since it is super-useful to mass-edit code. Often I:

  • Perform a find to get a starting position of lines I want to mass edit
  • Navigate to the beginning of each line by clicking home button
  • Hold shift + end (or end twice) to select the entire lines
  • Perform another find to get to where I need to be in each line -- This is not supported

This feature is supported in Sublime Text. I am trying to convert to using VS Code, but this could be one of those deal-breakers.

@karl-tpio
Copy link

@scottpelak, i think this is already "in" VS Code. The "find all" + cursor at each occurrence is the biggest feature of ST3 that i use dozens of times every day.

Right now, i have found the `Change All Occurrences" via right click on any of the find results. This will then give me a cursor at every occurrence. i can move the cursor around to the beginning / end of a line ... etc

@ldexterldesign
Copy link

Hi @scottpelak,

I'm not immediately clear on your goal - why isn't your starting position where you need to be and how does this relate to the OP (i.e. "Find in selection")?

Hope to hear back

Cheers

@isidorn
Copy link
Contributor

isidorn commented Dec 3, 2018

fyi @rebornix

@jrieken jrieken added the editor-find Editor find operations label Oct 8, 2019
@rebornix rebornix modified the milestones: Backlog, August 2020 Aug 11, 2020
@rebornix rebornix added the verification-needed Verification of issue is requested label Sep 1, 2020
@mjbvz mjbvz added the verified Verification succeeded label Sep 1, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-find Editor find operations feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities insiders-released Patch has been released in VS Code Insiders verification-needed Verification of issue is requested verified Verification succeeded
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants