Android Studio《开放宣言》像日食 [英] Android Studio "Open Declaration" like eclipse

查看:27
本文介绍了Android Studio《开放宣言》像日食的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

eclipse中是否有类似开放声明"的功能,我们可以在新的Android Studio中使用?

Is there a function like the "open declaration" in eclipse, that we can use in the new Android Studio?

就像F3按钮一样.

推荐答案

以下是更多详细信息,可帮助您避免对所有其他命令提出相同的问题:

Here are more details to help you avoid asking the same question for all the other commands:

Ctrl + Shift + A,然后搜索您要查找的命令(例如声明").这将找到命令声明 - 通过引用操作转到 - Ctrl + B".

Press Ctrl + Shift + A, and search for the command you're looking for ("declaration") for example. This finds the command "Declaration - Goto by Reference action - Ctrl + B".

所以您只需要将光标放在您想要转到的方法上,然后按Ctrl + B?您也可以 Ctrl + 单击 来实现相同的目标.

So you just need to put your cursor on the method you want to go to, and press Ctrl + B? You can also Ctrl + Click to achieve the same goal.

最有用的键盘快捷键在帮助 - 每日提示对话框中进行了描述.全部阅读.

The most useful keyboard shortcuts are described in the Help - Tip of the day dialog box. Read them all.

这篇关于Android Studio《开放宣言》像日食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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