本文主要是介绍AndroidStudio2.1 Tip of the Day,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
每次启动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).
这篇关于AndroidStudio2.1 Tip of the Day的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!