IntelliJ / Rust: goto usages / show crate name?

When using IntelliJ / Rust, and we hit goto-usage on a struct/enum, is it possible for it to also show the CRATE_NAME of where it is jumping to ?

I have a workspace with multiple crates; so seeing file names of the form "lib.rs" or "mod.rs" is not nearly as useful as knowing the crate as well.

Thanks!

I think that should be a feature request on their Github. In the meantime, you can use the Find Usages tool tab, and check Group by Directory in their Group by settings (left gutter, icon with squares).

2 Likes