I'd like to implement something like Resharper's "Go To File" feature for Emacs. When one presses mentioned shortcut, Resharper pops a text box that accepts a wildcard string and displays an autocompletion menu that lists all files in a project that match that wildcard:
(source: jetbrains.com)
For now, I know a crude way to achieve something more or less equivalent. It involves running dired
with -lR
and then invoking dired-isearch-filenames
- that will start incremental search over the entire hierarchy of files inside certain root directory.
upd. I'm also aware about the option of opening loads of buffers, keeping them all in memory and using switch-to-buffer
. This solution works nicely with ido
, though it isn't 100% bullet-proof (what if some files get added or deleted?). It also doesn't play well with tabbar
, since tabs will display all the files that are included in the project, but not a subset of the project that represents my current context.
However, this shows lots of unnecessary information and lacks autocompletion. I've taken a look at ido
and icicles
, but they seem to work shallowly, only within current directory. Is there a Emacs plugin that will help me to achieve my goal?