上一篇文章中只是提了一下快捷键,这次为大家带来有可能是最好的Android Studio快捷键大全,熟练的使用快捷键会提升效率,但是写在这里的始终在这里,能不能用上就看自己了,赶快去实践以下吧!
快捷键设置下载
用法
Key | Explain | Description |
---|---|---|
Ctrl+Q | Quick Document | 查看注释文档 |
Ctrl+W | Extend Selection | 扩展选择 |
Ctrl+E | Recent File | 最近的文件 |
Ctrl+R | Replace... | 替换 |
Ctrl+T | Update Project | 更新工程(版本控制中使用) |
Ctrl+Y | File Structure | 文件结构(快速查看该类的属性,方法...) |
Ctrl+U | Super Method | 跳转到父类的该方法(光标要在类的名字上) |
Ctrl+I | Implement Methods | 实现方法 |
Ctrl+O | Override Methods | 覆盖方法 |
Ctrl+P | Parameter Info | 查看方法的参数信息 |
Ctrl+A | Select All | 全选 |
Ctrl+S | Save All | 全部保存 |
Ctrl+D | Delete Line | 删除选中行(不用选中这些行的全部文本) |
Ctrl+F | Find... | 查找 |
Ctrl+G | Line... | 跳转到某一行 |
Ctrl+H | Type Hierachy | 类型层次化结构 (继承和实现关系) |
Ctrl+J | Insert Live Template | 插入活动模版(go百度->Live Template) |
Ctrl+K | Check In Project | 版本控制-提交操作 |
Ctrl+L | Find Next/Move to Next Occurrence | 寻找/移动到下一个出现位置 |
Ctrl+Z | Undo | 撤销 |
Ctrl+X | Cut | 剪切 |
Ctrl+C | Copy | 复制 |
Ctrl+V | Paste | 粘贴 |
Ctrl+B | Declaration | 跳转到属性声明位置 |
Ctrl+N | Class... | 查找类,并跳转 |
Ctrl+M | Scroll to Center | 滚动条移动到中间 |
Ctrl+/ | Comment with Line Comment | 注释行 |
Alt+Q | Quick Document | 查看注释文档 |
Alt+W | Context Info | 扩展选择 |
Alt+R | Run | 运行 |
Alt+C | ECTranslate | 一个翻译插件的快捷键 |
Alt+Insert | Generate... | 生成(构造,get,set等) |
Ctrl+Shift+W | Shrink Selection | 收缩选择(和Ctrl+W相对) |
Ctrl+Shift+E | Recently Change Files | 最近编辑过的文件 |
Ctrl+Shift+R | Replace in Path | 替换(比Ctrl+R范围更大) |
Ctrl+Shift+T | Test | 测试 |
Ctrl+Shift+U | Toggle Case | 切换大小写 |
Ctrl+Shift+I | Quick Definition | 查看声明/定义 |
Ctrl+Shift+O | Optimize Imports | 组织导入 |
Ctrl+Shift+P | Expression Type | 表达式类型 |
Ctrl+Shift+A | Find Action... | 查找功能 |
Ctrl+Shift+F | Reformat Code | 格式化代码 |
Ctrl+Shift+H | Method Hierarchy | 查看方法层次 |
Ctrl+Shift+J | Join Lines | 不好表达,自己试一试吧 |
Ctrl+Shift+K | Push | 版本控制使用 |
Ctrl+Shift+L | Find Previous/Move to Previous Occurrence | 寻找/移动到上一个出现位置 |
Ctrl+Shift+Z | Redo | 重做(和Ctrl+Z相对) |
Ctrl+Shift+C | Copy Paths | 复制这个类的绝对路径 |
Ctrl+Shift+V | Paste from History... | 从历史中选择粘贴 |
Ctrl+Shift+B | Type Declaration | 跳转到类型的类文件 |
Ctrl+Shift+N | File... | 查找文件 |
Ctrl+Shift+M | Move caret to Matching Brace | 移动光标到与之匹配的括号 |
Ctrl+Shift+/ | Comment with Block Comment | 块注释 |
Ctrl+Alt+Z | Toggle Full Screen mode | 切换全屏模式 |
Ctrl+Alt+左右箭头 | Back/Forward | 上/下一个编辑位置 |
Shift+Alt+上下箭头 | Move Line Up/Dowm | 上/下移动行 |
Alt+/ | Code Completion | 代码完成(包括资源文件) |
Alt+Enter | show intention actions | 显示可选的意图 |
Shift+F6 | Rename... | 重命名(重构) |
Shift+Shift | Search EveryWhere | 文件查找 |