-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Editor search should match on notebook output by default #174969
Comments
currently you need to specifically enable searching in cell output, but it might be a good idea to enable that when the focus was in the output when the find widget was opened. cc @rebornix |
Would it make sense to enable searching in cell output by default (or have we received user feedback that it's noisy or undesirable to show those results)? |
It's a performance concern, especially now that outputs can be much longer. |
+100 for enabling this by default. If it is a performance concern, could you provide more details why? fyi @rebornix since he might have advice on how Find works in huge editors |
The major concern we have for turning on find in output by default is performance since it requires all outputs to be rendered before searching keywords. I used PythonDataScienceHandbook as a good real world sample to test how much will be spent in rendering all outputs on the reveal of the find widget. Most of notebooks in PythonDataScienceHandbook has cells between dozens to hundreds and they are good mixes of markdown cell and code cells with outputs. Rendering a cell output To avoid the webview to be blocked for too long (which will affect the scrolling or any other user interactions), we want to request the output rendering when |
Based on the design of https://www.w3.org/TR/requestidlecallback/#idle-periods, we need to do |
completed |
Testing #174637
This repros for me with or without experimental scrollable output support enabled.
The text was updated successfully, but these errors were encountered: