Skip to content

Textual "find in selection" for notebook find widget  #121218

Closed

Description

@Xinyu-Wu-0000 commented on Tue Apr 13 2021

Issue Type: Feature Request

Hope to use "find in selection" function in notebooks.

Extension version: 2021.5.743038836-dev
VS Code version: Code - Insiders 1.56.0-insider (48387df, 2021-04-13T05:15:44.407Z)
OS version: Linux x64 5.11.0-13-generic


Ian Huff (@IanMatthewHuff) commented on Tue Apr 13 2021

I do repro this as well. However with the new Native Notebook UI this search / find UI is controlled by core VS Code, not the Jupyter extension. I'm going to transfer this issue to their repo.

Activity

  1. added
    feature-request
    on Apr 19, 2021
  2. added this to the Backlog milestone on Apr 19, 2021
  3. rudiranck commented on Mar 31, 2022

    @rudiranck

    @Xinyu-Wu-0000 commented on Tue Apr 13 2021

    Issue Type: Feature Request

    Hope to use "find in selection" function in notebooks.

    Extension version: 2021.5.743038836-dev VS Code version: Code - Insiders 1.56.0-insider (48387df, 2021-04-13T05:15:44.407Z) OS version: Linux x64 5.11.0-13-generic

    Ian Huff (@IanMatthewHuff) commented on Tue Apr 13 2021

    I do repro this as well. However with the new Native Notebook UI this search / find UI is controlled by core VS Code, not the Jupyter extension. I'm going to transfer this issue to their repo.
    +1

  4. plauria commented on Aug 3, 2022

    @plauria

    I'm kind of confused why is this considered a feature request and not a bug? Find is not respecting global search settings like "Auto find in selection".

    I guess it's just semantics, but tagging this as feature seems like a way to de-emphasize its importance, but given the number of dups I'd say it's pretty important to people. This is an extremely basic functionality that's missing and apparently was present in earlier versions of vscode.

  5. luchungi commented on Aug 4, 2022

    @luchungi

    Solution is given in #141493 with the F3 key which allows find in selection/cell so this can be closed

  6. plauria commented on Aug 4, 2022

    @plauria

    No, it can’t. Pressing F3 doesn’t do anything differently, as I mentioned in my dup bug report.

  7. 22 remaining items

  8. Yoyokrazy commented on May 31, 2024

    @Yoyokrazy
    Collaborator

    Related to work done at: #209839

    This issue requests textual selections (multiple lines in a cell, etc). There is now support for cell selections upon the enabling of the newly introduced setting "notebook.experimental.find.scope.enabled": true

  9. lgonzalezsa commented on May 31, 2024

    @lgonzalezsa

    Great! Can I use it today? I added the setting not sure what to expect in the find UI.

  10. ZSZYoung commented on Jun 3, 2024

    @ZSZYoung

    Related to work done at: #209839

    This issue requests textual selections (multiple lines in a cell, etc). There is now support for cell selections upon the enabling of the newly introduced setting "notebook.experimental.find.scope.enabled": true

    Glad to hear that

  11. Yoyokrazy commented on Jun 3, 2024

    @Yoyokrazy
    Collaborator

    Great! Can I use it today?

    Luis Gonzalez (@lgonzalezsa) the search in cell selection you can 👍 if you enable the setting, you will see the new "in selection" button to the left of the arrows that let you step between results. The feature is active on insiders, and is included in the upcoming stable release as well. Here's a video of how it currently works, and I'll be working to expand functionality for textual selections (in addition to cell selections) this month.

    notebook-find-in-cell-selection.mp4

    I added the setting not sure what to expect in the find UI.

    Without the setting enabled, you will not be able to see the "in selection" button within the find widget when you are using a notebook editor. When enabled, the button should be visible.

  12. lgonzalezsa commented on Jun 3, 2024

    @lgonzalezsa

    It is not working for me, I added it to the bottom of my settings file as follows:

    image

  13. Yoyokrazy commented on Jun 3, 2024

    @Yoyokrazy
    Collaborator

    Hm, interesting. Could you check which version of vscode you are running? The feature would only be available in a recent insiders, and not until stable 1.90 is released this week. This can be checked via the help menu -> About.

    Could you also check if the setting is visible in the settings UI? Searching just for "notebook find" should populate the setting.

  14. lgonzalezsa commented on Jun 6, 2024

    @lgonzalezsa

    Got it! seeing it now in 1.90 was waiting for that feature to be enabled again! helps a lot, THANKS!

  15. gilles-zerah commented on Jun 6, 2024

    @gilles-zerah
  16. Yoyokrazy commented on Jun 7, 2024

    @Yoyokrazy
    Collaborator

    Yes, the "Find in Selection" button needs to be toggled off and on again to change the selection. This is currently the same behavior that works for standard editor "Find in Selection" in regards to changing the selection. The decorations applied to the cells are a good indicator of the range you will be searching within.

  17. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Jun 24, 2024
  18. locked and limited conversation to collaborators on Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasednotebook-findon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions