简体   繁体   English

导航到android studio中的方法声明

[英]Navigate to method declaration in android studio

I'm following MVP architecture. 我正在遵循MVP架构。 So I have lots of methods declared in my interfaces. 因此,我在接口中声明了许多方法。 I am able to navigate to the method implementation with ctrl+alt+mouseclick or ctrl+alt+B But I want to do the reverse. 我可以使用ctrl+alt+mouseclickctrl+alt+B导航到方法实现,但我想相反。 I need to go to the method declaration in the interface. 我需要转到接口中的方法声明。

I've checked settings keymap and googled it, but there's no precise answer. 我已经检查了设置键盘映射并在Google上进行了搜索,但是没有确切的答案。

There's an icon on a gutter to go to base/interface method 装订线上有一个图标,可转到基础/界面方法

Also Go to super-method/super-class is Control + U 另外 Go to super-method/super-class是Control + U

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM