Mac版 Android Studio快捷键
2016-04-07 10:52
337 查看
⌥—> option|alt
⇧—>shift
⌃—>control
⌘—>command
⎋—>esc
↑↓←→
alt+F7:Find usage
alt+command+L:格式化代码
alt+command+O:优化import(去掉无用的import)
command+O:Override Methods
command+I:Implement Methods
command+B:Declaration查看定义
alt+command+B:Implementations查看其实现
command+U:Super Method(Class)
control+上下方向键:Previous/Next Method
(shift+)F2:快递定位并高亮错误(deprecate,unused)
command+Z:Undo撤销
shift+command+Z:Redo Typing
alt+enter:引入包,添加注释…
control+enter:generate setter,getter…
shift+command+T:添加Test
command+W:Extend Selection
shift+command+W:Shrink Selection
command+P:参数提示
command+Y(X):删除当前行(剪切当前行)
command+F11:添加/取消bookmark
shift+F11:显示bookmark列表
command++/-:展开收缩代码
shift+command+上下方向键:Move Line Up/Move Line Down
command+F:Find
command+R:Replace
control+shift+F:Find in Path
control+shiftÏ+R:Replace in Path
alt+command+左右方向键:Back/Forward操作
command+E:Recent File
shift+command+E:Recently Change Files
shift+shift:Search Method或者Class (Search Everywhere:command+N,shift+command+N,shift+alt+command+N)
command+N:Search Class
shift+command+N:Search File
shift+alt+command+N:Search Symbol
shift+F10:Run
shift+F9:Debug
command+F9:Make Project
shift+command+F9:Make Module
command+F2:关闭当前的执行的task
command+F8:添加/取消断点
shift+command+F8:查看所有断点
Debug:
F7:Step Into
F8:Step Over
shift+F8:Step out
F9:resume
alt+F9:Run to Cursor
shift+F6:重命名
command+F6:快速修改函数的参数,返回值或者类添加泛型等
F6:Move快速的移动方法或者类
F5:Copy快速的移动类
alt+command+C:提取Constant变量
alt+command+V:提取Variable(Local变量)
alt+command+F:提取Field变量
alt+command+M:提取Method
control+左右方向键:tab切换
alt+F4:关闭当前tab
esc+command:切换当前的窗口
shift+esc:隐藏侧栏
command+K:Commit Changes
shift+command+K:Push Commit Changes
command+T:Update Project
command+,:Android Studio Preferences
command+;:Project Structure
⇧—>shift
⌃—>control
⌘—>command
⎋—>esc
↑↓←→
Code
alt+F7:Find usagealt+command+L:格式化代码
alt+command+O:优化import(去掉无用的import)
command+O:Override Methods
command+I:Implement Methods
command+B:Declaration查看定义
alt+command+B:Implementations查看其实现
command+U:Super Method(Class)
control+上下方向键:Previous/Next Method
(shift+)F2:快递定位并高亮错误(deprecate,unused)
command+Z:Undo撤销
shift+command+Z:Redo Typing
alt+enter:引入包,添加注释…
control+enter:generate setter,getter…
shift+command+T:添加Test
command+W:Extend Selection
shift+command+W:Shrink Selection
command+P:参数提示
command+Y(X):删除当前行(剪切当前行)
command+F11:添加/取消bookmark
shift+F11:显示bookmark列表
command++/-:展开收缩代码
shift+command+上下方向键:Move Line Up/Move Line Down
Search
command+F:Findcommand+R:Replace
control+shift+F:Find in Path
control+shiftÏ+R:Replace in Path
alt+command+左右方向键:Back/Forward操作
command+E:Recent File
shift+command+E:Recently Change Files
shift+shift:Search Method或者Class (Search Everywhere:command+N,shift+command+N,shift+alt+command+N)
command+N:Search Class
shift+command+N:Search File
shift+alt+command+N:Search Symbol
Run/Debug
shift+F10:Runshift+F9:Debug
command+F9:Make Project
shift+command+F9:Make Module
command+F2:关闭当前的执行的task
command+F8:添加/取消断点
shift+command+F8:查看所有断点
Debug:
F7:Step Into
F8:Step Over
shift+F8:Step out
F9:resume
alt+F9:Run to Cursor
Refactor
shift+F6:重命名command+F6:快速修改函数的参数,返回值或者类添加泛型等
F6:Move快速的移动方法或者类
F5:Copy快速的移动类
alt+command+C:提取Constant变量
alt+command+V:提取Variable(Local变量)
alt+command+F:提取Field变量
alt+command+M:提取Method
Window
control+左右方向键:tab切换alt+F4:关闭当前tab
esc+command:切换当前的窗口
shift+esc:隐藏侧栏
VCS
command+K:Commit Changesshift+command+K:Push Commit Changes
command+T:Update Project
Setting
command+,:Android Studio Preferencescommand+;:Project Structure
相关文章推荐
- Android中的缩略图加载-不浪费一点多余的内存
- android屏幕的点击事件
- 关于Android ListView的优化问题
- Android 6.0 crash - liblicensing.so: has text relocations
- AndroidStudio 从git 服务器导入项目后不能运行的问题解决
- Android Studio如何安装插件
- Android客户端与服务器交互中的token
- Android ViewDragHelper完全解析 自定义ViewGroup神器
- Android 内存管理 &Memory Leak & OOM 分析
- Android Studio系列教程六--Gradle多渠道打包
- Mac Android Studio 不能输入内容
- Android滑动菜单特效实现,仿人人客户端侧滑效果,史上最简单的侧滑实现
- Android Studio系列教程五--Gradle命令详解与导入第三方包
- GitHub上排名前100的Android开源库(201603)
- Android动态换肤(一、应用内置多套皮肤)
- 分享下android中路径动画svg格式的(一)
- Android动态换肤(一、应用内置多套皮肤)
- Android SDK 下载
- 使用Fragment ViewPager时,ViewPager被遮盖重新显示,ViewPager不正常显示
- android应用程序如何调用支付宝接口