-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Search function is broken and has questionable defaults #7458
Comments
Related:
We may need to split this into multiple items, to be able to deliver improvements to search in parallel. Thank you @soerenwolfers for opening this issue! |
I would add, while on the subject of improving the search function, that the Tab order for find/replace should really be adjusted. Currently, if you put your cursor in the find field, type something to find, then hit tab (to type its replacement) it moves the selection to the next button (which is "match case"). Compare this to any other program with find/replace: tab key will always first send the cursor to the replace field, then to highlight any subsequent buttons. |
@gaulinmp Thank you for your feedback! I migrated your request into the JupyterLab issues repo, since this code is primarily maintained in the JupyterLab package: jupyterlab/jupyterlab#16808 |
Description
badv2.webm
The search function that's included in the JupyterLab based Jupyter notebooks (likely also the search function of JupyterLab itself, I never use that) via Ctrl-F is close to unusable. I got into the habit of clicking the top of the notebook, after which Ctrl-F opens the default browser search functionality, and hoped that the issues in the Jupyter search would eventually be ironed out but now that Jupyter started not rendering the entire notebook by default, it's a serious problem:
1: The search defaults to not search in cell outputs, which is way too opinionated for as general a shortcut as Ctrl-F. It has certainly never been my intent when I pressed Ctrl-F. This default currently even needs changing everytime a notebook is opened. See video above.
2: The highlighting of search results is broken for cell outputs. See video above.
3: The rotation of search result highlighting is broken when using the "up" button on the search window. See video above.
4: The latency on even an empty notebook is crazy high. Right here on github, when I use the browser search functionality via Ctrl-F the delay between updating the search term and the new matches being highlighted is non-existent. In a Jupyter notebook, whether I use the Jupyter notebook search window or the standard Browser search window, the delay is close to a second. See video above.
5: After a cell input match has been highlighted, closing the search bar does not put me into insert mode to let me edit the highlight straight away. See video below for how this should work.
Reproduce
Create notebook as in video and start playing around.
Expected behavior
goodv3.webm
Context
Troubleshoot Output
The text was updated successfully, but these errors were encountered: