-
Sometimes when editing, I need to jump to a file by name. It's not a function or a struct or a enum within the file I want to jump to. It's a file that I want to jump to.
-
I'm using IntelliJ with Rust plugin.
-
For example, I may have something like:
src/
util/
foo.rs
bar.rs
and I'll be editing foo.rs
and want to jump to bar.rs
.
-
In Vim, there is GitHub - junegunn/fzf: A command-line fuzzy finder which is nice because I can type
;fzf
star typingbar
and it'll jump me to the right file. -
In IntreliJ with Rust plugin, there is the nice project tree viewer -- but that involves clicking with the mouse, which I am trying to avoid.
-
If I had a struct / function / enum, I could also hit "goto implementation" -- but in my case I just want to jump to file.
-
There is also shift-shift -- but it starts auto completing on EVERY file within any crate within the current workspace.
-
In IntelliJ/Rust, is there any easy way to jump to a "local" file without using the mouse?