Emacs has had this feature forever, and it works pretty well.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Re...

KDE also IIRC. Just works in all load and save dialogs :)