Live preview on focus in File Finder #34934
wouterken
started this conversation in
Ideas From Sublime Text
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The ability to immediately preview focused files behind the File Finder, without having to actually select the file (at which point the dialog closes and you lose your filter) is a great ST feature that I miss in Zed.
It's especially useful in large repositories where you have many files that share the same name, and you want a quick glimpse of what's in the focused file, to confirm your selection. (e.g. think common files like
test.rs
in the Zed repo.)I’ve put together a simple implementation of this in my fork, which reuses preview tab functionality, and allows you to opt into this preview behavior on File Finder focus.
I've seen this request has been previously raised as an issue here:
And a similar (but not quite the same) function raised for discussion here
I've not noticed any PRs attempting to implement this (but could easily have missed it!)
Demo below:

Would love to hear feedback on whether it'd be possible to get a change like this merged into Zed.
More than happy to open a PR if it's something you'd consider incorporating.
Beta Was this translation helpful? Give feedback.
All reactions