您的位置:首页 > 移动开发 > Android开发

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

2016-11-26 10:35 381 查看

参考:

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) 字面意思表明意图的行为 快速修复
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: