Android Studio 使用快捷键及应用小技巧

来源:互联网 发布:淘宝最好的沉香卖家 编辑:程序博客网 时间:2024/06/05 08:21

参考:

http://www.open-open.com/lib/view/open1458715872710.html

File - settings–Editor–general–AutoImport –java 下面的的自动导包设置。

  • optimize:  优化  optimize imports on the fly 自动导包时的优化
  • unambiguous : 明确的, add unambiguous imports on the fly 这个也是在自动导包时的设置。

Android studio 常用的快捷键的单词:

  • comment with line comment : 单行注释 ctrl + /
  • comment with block comment 多行注释 ctrl + shift +/
  • find in path 全局搜索 ctrl +H ;
  • preview 预告,显示视图 (可自定义为V,用于布局文件视图的显示);
  • class name completion 用于自动补全代码 alt +/ ;
  • Reformat Code 格式化代码 ctrl + shift + f ;
  • Show Intention Actions ( 相当于eclipse 下的ctrl +1) 字面意思表明意图的行为 快速修复
0 0
原创粉丝点击