Index of all Struct / Enum / Trait in a given workspace

#1

Here’s my situation:

  1. I have a single workspace with 10-20 crates, totalling ~6k LOC (counted by cloc)

  2. I am using Rust IntelliJ, but am open to non-IntelliJ solutions.

  3. I want something that provides an index, over ALL crates of the workspace, of all Struct / Trait / Enums

  4. Then I want to be able to type a partial name in this interface, have it show me possible completions (along with crate name + file name).

  5. Then, when I click on an item, it jumps IntelliJ to the right source line.

=====

What is the closest we have to some tooling like this?

0 Likes

#2

I think this is https://www.jetbrains.com/help/ruby/navigating-to-class-file-or-symbol-by-name.html ?

2 Likes

#3

I’ll also recommend watching this talk which explains some of the most useful features of IntelliJ:

well worth the time if one uses JetBrains IDEs regularly.

0 Likes

#4

@matklad : GotoClass indeed is what I want. Thanks!

1 Like