IntelliJ:根据当前class的名称跳转到class
IntelliJ: Jump to a class based on the name of the current class
我想知道在IntelliJ IDEA中是否可以根据我当前所在的class的名称跳转到class。我想绑定一个键到这个动作。
示例:
我在 class FooBar 中,想跳转到 FooBarHandler
如果这只能通过插件实现。我希望 link 能够给我一个良好的开端。
没有这样的自定义操作。您可以查看 com.intellij.navigation.GotoRelatedProvider
class 中的示例 IntelliJ IDEA Community sources.
另见 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。
我想知道在IntelliJ IDEA中是否可以根据我当前所在的class的名称跳转到class。我想绑定一个键到这个动作。
示例: 我在 class FooBar 中,想跳转到 FooBarHandler
如果这只能通过插件实现。我希望 link 能够给我一个良好的开端。
没有这样的自定义操作。您可以查看 com.intellij.navigation.GotoRelatedProvider
class 中的示例 IntelliJ IDEA Community sources.
另见 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。