Android Studio《开放宣言》像日食 [英] Android Studio "Open Declaration" like eclipse
问题描述
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屋!