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

Unable to find/replace within selected area #32595

Closed
scubazip opened this issue Aug 15, 2017 · 4 comments
Closed

Unable to find/replace within selected area #32595

scubazip opened this issue Aug 15, 2017 · 4 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) editor-find Editor find operations under-discussion Issue is under discussion for relevance, priority, approach

Comments

@scubazip
Copy link

  • VSCode Version: Code 1.14.2 (cb82feb, 2017-07-19T23:34:19.566Z)
  • OS Version: Windows_NT x64 6.1.7601
  • Extensions:
Extension Author (truncated) Version
cobol bit 0.3.12
mssql ms- 1.1.0
PowerShell ms- 1.4.1

Steps to Reproduce:

  1. Click on a column
  2. Alt+F Highlight something 10 columns wide and 10 lines
  3. Ctrl+H
  4. Click "Find in Selection button" (withing the find/replace window)
  5. The text that was selected in step 2 is de-selected! <--- the problem

NOTE: This is not a problem if you select the enter line. The problem only exists when using Alt+F

Reproduces without extensions: Yes/No

@vscodebot vscodebot bot added editor editor-find Editor find operations labels Aug 15, 2017
@scubazip
Copy link
Author

Sorry not Alt-F but Shift-Alt

@rianquinn
Copy link

I can confirm this issue with Cmd+D selections (i.e. selecting multiple of the same strings). As soon as you select the "Find in Selection" option, the current selection is deselected. For now, I have been using Sublime to perform this action as it works fine there, but it would be great if this worked in VSCode so I didn't have to swap back and forth.

@rebornix rebornix added the under-discussion Issue is under discussion for relevance, priority, approach label Nov 16, 2017
@alexdima alexdima removed the editor label Nov 24, 2017
@rebornix
Copy link
Member

rebornix commented Sep 20, 2018

To find in a selection, you may want to select the range, toggle find in selection first to lock the selection, and then type in the query keyword. Find widget searches incrementally when you type so that's why the selection is not locked. For more details, let's track it in #27083.

@rebornix rebornix added the *duplicate Issue identified as a duplicate of another issue(s) label Sep 20, 2018
@vscodebot
Copy link

vscodebot bot commented Sep 20, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Sep 20, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 4, 2018
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-find Editor find operations under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

4 participants