歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Android Studio 使用技巧

Android Studio 使用技巧

日期:2017/2/28 14:48:52   编辑:Linux教程

下面就簡單的介紹下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.

相關閱讀:Android Studio 下載地址【包括國內本地下載】http://www.linuxidc.com/Linux/2013-05/84408.htm

Copyright © Linux教程網 All Rights Reserved