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

feat: load the search window faster #12

Open
kaka-ruto opened this issue Apr 12, 2023 · 3 comments
Open

feat: load the search window faster #12

kaka-ruto opened this issue Apr 12, 2023 · 3 comments
Labels
feat File a feature

Comments

@kaka-ruto
Copy link

kaka-ruto commented Apr 12, 2023

What would you like?

Telescope loads in under a second, but this extension's search window loads in like 8 seconds in a large project. It would be nice if the two would be comparable in terms of speed.

Additional notes

Screen.Recording.2023-04-12.at.18.24.11.mov
@kaka-ruto kaka-ruto added the feat File a feature label Apr 12, 2023
@chaoslogick
Copy link

Commenting to second this issue. The same thing happens to me. Takes several seconds for the window to load

@kaka-ruto
Copy link
Author

I found that I needed to install the fd-find package on https://github.com/sharkdp/fd, which this project uses if it is installed, or else defaults to the default find which is very slow. Here's the code

local find_command = (function()

@dudicoco
Copy link

Even with fd installed there is an issue with the extension - it won't render until the fd command has finished running.
With the default telescope commands the telescope UI renders while the results are being populated, giving a better experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat File a feature
Projects
None yet
Development

No branches or pull requests

3 participants