Jump into interface implementation in Eclipse IDE

后端 未结 11 1124
陌清茗
陌清茗 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:30

    Press Ctrl + T on the method name (rather than F3). This gives the type hierarchy as a pop-up so is slightly faster than using F4 and the type hierarchy view.

    Also, when done on a method, subtypes that don't implement/override the method will be greyed out, and when you double click on a class in the list it will take you straight to the method in that class.

提交回复
热议问题