每次启动AndoridStudio时都会弹出Tip of the Day 提示框,帮助新手更快速的了解AndroidStudio新特性。
1. ctrl + 点击鼠标
To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and press Ctrl+B (Navigate | Declaration). You can also click the mouse on usages with the Ctrl key pressed to jump to declarations.
2. Ctrl + F12:相当于eclipse的Outline; 搜索Ctrl + F
You can quickly navigate in the currently edited file with Ctrl+F12 (Navigate | File Structure).
It shows the list of members of the current class. Select an element you want to navigate to and press the Enter key or the F4 key.
To easily locate an item in the list, just start typing its name.
3. Ctrl + Q
You may easily override methods of the base class by pressing Ctrl+O (Code | Override Methods).
To implement methods of the interfaces that the current class implements (or of the abstract base class), use Ctrl+I (Code | Implement methods).