Replies: 2 comments 7 replies
-
This looks great, especially with the preview option! Rerunning does not scale well indeed, scanning 400Mb External fuzzy finder seems like a way to go. Please let me know if you have any questions about the code :) |
Beta Was this translation helpful? Give feedback.
-
I have a WIP ready. I had to create a Trait over
Let me know, what you think. |
Beta Was this translation helpful? Give feedback.
-
Is interactive selection via a fuzzy finder an interesting idea or should it be out of scope?
The simple solution would just check PATH for well known fuzzy finders.
For other fuzzy finders it could use a env variable first.
A more complex solution would add a fuzzy finder from library. IMO that's not worth the effort.
Another option would be to add something like
--list
for easy piping to fuzzy finders and an example of a shell alias to the documentation.Proper preview support is only possible in the complex solution. It also works for the other solutions, but it might not scale too well on large code bases as it needs to rerun the command each time.
For the first solution I have written a PoC here.
If there is interest for it, I might put something together.
Beta Was this translation helpful? Give feedback.
All reactions