peri4n
peri4n

Reputation: 1421

IntelliJ: Jump to a class based on the name of the current class

I'd like to know if it is possible in IntelliJ IDEA to jump to a class based on the name of the class I am currently in. I want to bind a key to this action.

Example: I am in class FooBar and want to jump to FooBarHandler

If this is only possible via a plugin. I'd appreciate a link to a documentation that could give me a head start.

Upvotes: 0

Views: 140

Answers (1)

Andrey
Andrey

Reputation: 16401

There is no such custom action. You can check the examples of the com.intellij.navigation.GotoRelatedProvider class in IntelliJ IDEA Community sources.

Also see the IntelliJ IDEA SDK documentation and this answer: Intellij IDEA plugin with markers. Feel free to ask specific questions on Plugin developers Forum or in #intellij-platform JetBrains Platform Slack community.

Upvotes: 1

Related Questions