You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Textual "find in selection" for notebook find widget #121218
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.
Reacted by Paul Lauria, Juho Autio, Jesse Aldridge, Tadashi, Lu, Michael Volk, sean, ClauS, raldone01, Jorge Gustavo Rocha and 6 more
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
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.
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
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
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.
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.
Hello,
Thanks a lot for the features, very useful! Is it correct that when I
change the scope to another cell by pointing the mouse there, I have to
redo the Find in cell (otherwise, the search remains focused on the same
cell) ?
Thanks again
Le ven. 31 mai 2024 à 21:29, Michael Lively ***@***.***> a
écrit :
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.
Activity
vscode-triage-bot commentedon Apr 19, 2021
Pinging
notebooktopic followers: Claudia Regio (@claudiaregio) Rich Chiodo (@rchiodo) Jim Griesmer (@greazer) Don Jayamanne (@DonJayamanne) jilljac (@jilljac)rudiranck commentedon Mar 31, 2022
plauria commentedon Aug 3, 2022
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.
luchungi commentedon Aug 4, 2022
Solution is given in #141493 with the F3 key which allows find in selection/cell so this can be closed
plauria commentedon Aug 4, 2022
No, it can’t. Pressing F3 doesn’t do anything differently, as I mentioned in my dup bug report.
22 remaining items
Yoyokrazy commentedon May 31, 2024
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": truelgonzalezsa commentedon May 31, 2024
Great! Can I use it today? I added the setting not sure what to expect in the find UI.
ZSZYoung commentedon Jun 3, 2024
Glad to hear that
Yoyokrazy commentedon Jun 3, 2024
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
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.
lgonzalezsa commentedon Jun 3, 2024
It is not working for me, I added it to the bottom of my settings file as follows:
Yoyokrazy commentedon Jun 3, 2024
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.
lgonzalezsa commentedon Jun 6, 2024
Got it! seeing it now in 1.90 was waiting for that feature to be enabled again! helps a lot, THANKS!
gilles-zerah commentedon Jun 6, 2024
Yoyokrazy commentedon Jun 7, 2024
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.