IntelliJ IDEA jump from interface to implementing class in Java

前端 未结 6 964
青春惊慌失措
青春惊慌失措 2020-12-12 11:54

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

6条回答
  •  自闭症患者
    2020-12-12 12:27

    If you did Command (Mac) / Ctrl (Windows) + Mouse click on method you want to navigate to You will be navigated to interface (Declaration)

    but If you did Alt + Ctrl + Mouse click on method you want to navigate to You will be navigated to class (Implementation)    you can use also Alt + Ctrl + b if you dont want leave keybourd

提交回复
热议问题