下面就简单的介绍下Android Studio的几个快捷键的使用:
NO.1 Ctrl+N 可以快速的查找你需要打开的类,当你输入类名的时候具有自动补全功能!
To open any class in the editor quickly, press Ctrl+N (Navigate | Class) and start typing the name of the class. Choose the class from a drop-down list that appears.
You can open any file in your project in a similar way by using Ctrl+Shift+N (Navigate | File)
NO.2 Ctrl+Space 自动补全功能 ,相当于eclipse中的Ctrl+/
The Code Completion feature lets you quickly complete different kinds of statements in the code. For example, start typing a class name and press Ctrl+Space to complete it. When multiple choices are available, they are shown in the lookup list.
NO.3 Ctrl+Q 快速的查看的 类,函数的 文档问信息描述
To quickly see the documentation for the class or method used at the editor's caret, press Ctrl+Q (View | Quick Documentation).
NO.4 Ctrl+B 导航显示相关关联信息。可以按住Ctrl 点击方法进入到实现类方法中
To navigate to the declaration of a class, method or variable used somewhere in the code, position the caret at the usage and pressCtrl+B. You may also click the mouse on usages with theCtrl key pressed to jump to declarations.
Ctrl+D 备份选中行的信息(Xcode 中始终没找到。有哪个大神知道给我留言万分感谢)
Ctrl+D in the editor duplicates the selected block or the current line when no block is selected.