您的位置:首页 > 移动开发 > Android开发

AndroidStudio2.1 Tip of the Day

2016-08-18 17:56 447 查看
每次启动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).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: