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

Select first element even when search is not over yet #3197

Open
ilan-schemoul opened this issue Jul 6, 2024 · 1 comment
Open

Select first element even when search is not over yet #3197

ilan-schemoul opened this issue Jul 6, 2024 · 1 comment
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@ilan-schemoul
Copy link

Is your feature request related to a problem? Please describe.
Very often searching a file takes multiple seconds. 99% of the time even before the end of the search I can see the expected result at the bottom of the list.
When the search is happenning nothing is selected. So either I wait 5/10 seconds for the search to be completed and press or I press then to force select last element before the end of the search. It's very very tedious and annoys me a lot to do that all the time though.

Describe the solution you'd like
Select the first element during the search so I can just

@ilan-schemoul ilan-schemoul added the enhancement Enhancement to performance, inner workings or existent features label Jul 6, 2024
@ilan-schemoul
Copy link
Author

Actually this issue only makes sense because of the package smart-open. I opened an issue there.
Because smart-open is slower to do a full search but also knows what file you want to open super quickly (because of sqlite3 to remember files opened frequently) then the element you want to search is already found before the end of the search

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

No branches or pull requests

1 participant