手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Android Studio 使用技巧

[日期:2013-05-18] 来源:Linux社区  作者:liao3841054 [字体:大 中 小]

下面就简单的介绍下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

linux
相关资讯       Android Studio  Android Studio使用 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款