Jump into interface implementation in Eclipse IDE

后端 未结 11 1099
陌清茗
陌清茗 2020-12-12 09:37

You know how in Eclipse, pressing F3 over a method will take you to its declaration? Well I have a method that is part of an interface; clicking F3 ove

11条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 10:23

    Here is what I do:

    I press command (on Mac, probably control on PC) and then hover over the method or class. When you do this a popup window will appear with the choices "Open Declaration", "Open Implementation", "Open Return Type". You can then click on what you want and Eclipse brings you right there. I believe this works for version 3.6 and up.

    It is just as quick as IntelliJ I think.

提交回复
热议问题