IntelliJ IDEA从Java接口跳转到实现类 [英] IntelliJ IDEA jump from interface to implementing class in Java

查看:3921
本文介绍了IntelliJ IDEA从Java接口跳转到实现类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有一些快捷方式允许我在界面中创建方法后,选择并跳转到该接口的实现类?

Is there some shortcut that would allow me after creating method in an interface, select and jump to implementing class of that interface?

推荐答案

是....在mac中,它是 Apple + ALT + B 。在调用快捷方式之前,您需要将光标移动到接口名称。我不确定PC中的快捷方式是什么,因为如果你右键单击界面名称 - >转到 - >实现......那里会列出快捷方式。

Yes.... in mac, it is Apple + ALT + B. You will need to move your cursor to the interface name before invoking the shortcut. I'm not sure what's the shortcut in PC, for if you right click the interface name -> "Go To" -> "Implementations"... the shortcut is listed there.

在PC中,它是 CTRL + ALT + B JetBrains导航文档

In PC, it is CTRL + ALT + B: JetBrains navigation documentation.

这篇关于IntelliJ IDEA从Java接口跳转到实现类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆