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

Find in selection not working #156959

Closed
chrisgordon1 opened this issue Aug 3, 2022 · 7 comments
Closed

Find in selection not working #156959

chrisgordon1 opened this issue Aug 3, 2022 · 7 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@chrisgordon1
Copy link

Issue Type: Bug

Select a line. Press command-F. Type in a word that is also in that line and other lines. You will see it shows all the instances rather than the ones just in that line. Also, there is no setting that will stop this behaviour.

VS Code version: Code 1.69.2 (Universal) (3b889b0, 2022-07-18T16:12:57.074Z)
OS version: Darwin x64 21.6.0
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 4, 3, 3
Memory (System) 32.00GB (1.41GB free)
Process Argv --crash-reporter-id 16e95723-382b-4439-8218-e46f9864dd90
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
boto3-ide Bot 0.5.1
gitlens eam 12.1.2
vscode-docker ms- 1.22.1
python ms- 2022.10.1
vscode-pylance ms- 2022.7.40
jupyter ms- 2022.6.1201981810
jupyter-keymap ms- 1.0.0
jupyter-renderers ms- 1.0.9
remote-containers ms- 0.241.3
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonvspyt551:30345470
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
pylanb8912cf:30529770
vsclangdf:30486550
c4g48928:30535728

@gjsjohnmurray
Copy link
Contributor

Maybe what you are seeing is occurrence highlighting. You can turn this off with the editor.occurrencesHighlight setting.

@chrisgordon1
Copy link
Author

Thanks, but it also goes to the beginning of the document when I press next rather than to the next item in the selection. So I don't think your suggested solution helps.

@gjsjohnmurray
Copy link
Contributor

Is the *Find in Selection" toggle button on when you are doing this?

@chrisgordon1
Copy link
Author

chrisgordon1 commented Aug 3, 2022

There is no Find in Selection toggle on my system as far as I can see. I am including a screenshot.
Screen Shot 2022-08-03 at 5 32 18 PM

@gjsjohnmurray
Copy link
Contributor

Aha! You are using a notebook rather than an ordinary text editor. So this is a duplicate of #121218

/duplicate

@vscodenpa vscodenpa added the *duplicate Issue identified as a duplicate of another issue(s) label Aug 3, 2022
@vscodenpa
Copy link

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 similar existing issues. See also our issue reporting guidelines.

Happy Coding!

@chrisgordon1
Copy link
Author

Thanks

@github-actions github-actions bot locked and limited conversation to collaborators Sep 17, 2022
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)
Projects
None yet
Development

No branches or pull requests

4 participants