Android studio 快捷键大全
来源:互联网 发布:电脑上怎么发淘宝链接 编辑:程序博客网 时间:2024/06/04 00:24
option + enter
alt + enter
AS配置界面Preferencescommand + ,
control+alt+S
工程项目配置界面Project Structurecommand + ;
Control+Alt+Shift+S
快速构成代码Code Generatecommand + N
alt + insert
代码提示Completion/Basiccontrol + space
(mac会冲突, 手动修改)ctrl + 空格
(win同样大部分和输入法冲突, 手动修改)选择视图select in any viewoption + F1
alt + F1
添加书签标识Toggle Bookmarkoption + F3
ctrl + F11
向下移动一行Move Line Downoption + shift + Down
alt + shift + Down
向上移动一行Move Line Upoption + shift + Up
alt + shift + Up
注释代码Comment with Line Commentcommand + /
ctrl + /
用代码模板包裹代码surround with Live Templatecommand + option + J
ctrl + alt + J
格式化代码Reformat Codecommand + option + L
ctrl + alt + L
Copy ReferenceCopy Referencecommand + option + shift + C
ctrl + alt + shift + C
if/try等包裹代码Surround With..command + option + T
ctrl + alt + T
查看声明Declarationcommand + B
ctrl + B
快捷向下复制行Duplicate Line or Blockcommand + D
ctrl + D
删除行Delete Linecommand + delete
ctrl + Y
快捷最近打开Recent Filescommand + E
ctrl + E
查找Edit/Find/Findcommand + F
ctrl + F
文件方法结构File Structurecommand + F12
ctrl + F12
显示书签Show Bookmarkscommand + F3
shift + F11
代码高亮向下查找Move To Next Occurrencecommand + G
F3
代码高亮向上查找Move To Previous Occurrencecommand + shift + G
shift + F3
按照模板生成代码Insert Live Templatecommand + J
ctrl + J
定位到行Navigate/Linecommand + L
ctrl + G
快速到行首/尾Move Caret to Line Start/Endcommand + Left/Right
ctrl + Left/Right
代码折叠/展开Collapse/Expandcommand + 减号/加号
ctrl + 减号/加号
查找类Navigate/Classcommand + O
ctrl + N
多行注释*Code/Comment *command + option + /
ctrl + alt + /
格式化代码Reformat Codecommand + option + L
ctrl + alt + L
提示参数类型Parameter Infocommand + P
ctrl + P
查找替换Replacecommand + R
ctrl + R
查找命令Find Actioncommand + shift + A
ctrl + shift + A
拷贝文件路径Copy Pathscommand + shift + C
ctrl + shift + C
移动代码块Move Statement Up/Downcommand + shift + down/up
ctrl + shift + down/up
代码补全Complete Current Statementcommand + shift + enter
ctrl + shift + enter
全路径查找Find in Pathcommand + shift + F
ctrl + shift + F
代码高亮Highlight Usages in Filecommand + shift + F7
alt + J
窗口内所有代码折叠/展开Collapse/Expand Allcommand + shift + 减号/加号
ctrl + shift + 减号/加号
查找文件Navigate/Filecommand + shift + O
ctrl + shift + N
全路径中替换Replace in Pathcommand + shift + R
ctrl + shift + R
大小写转换Toggle Casecommand + shift + U
ctrl + shift + U
显示粘贴版历史Paste from Historycommand + shift + V
ctrl + shift + V
快速查找定义 command + space
ctrl + shift + I
粘贴Pastecommand + V
ctrl + V
复制Copycommand + C
ctrl + C
去除无效包引用Optimize Importscontrol + option + O
ctrl + alt + O
显示类关系继承体系Type Hierarchycontrol + H
ctrl + H
快速覆写方法override Methodscontrol + O
ctrl + O
查找调用的位置Call hierarchycontrol + option + H
ctrl + alt + H
添加书签Toggle BookmarkF3
F11
扩大缩小选中范围Extend Selection/Shrink Selectionoption + UP/Down
ctrl + W + shift + W
跳转到父类Super methodcommand + U
ctrl + U
关闭当前tab标签Editor Tabs / Closecommand + W
ctrl + shift + a
关闭除编辑窗口的其余窗口Hide All Tool Windowscommand + shift + F12
ctrl + shift + F12
预览方法定义Quick Definitioncommand + Y
ctrl + shift + I
返回光标最后编辑位置Last Edit Locationcommand + shift + delete
control + shift + Backspace
调到代码块首部/尾部Move Caret To Code BlockOption + Command + [ 或者 ]
Control+[ 或者 ]
重命名Renameshift + F6
shift + F6
抽取方法Extract Methodcommand + option + M
control+alt+M
抽取变量Extract Variablecommand + option + V
control+alt+V
抽取字段Extract Fieldcommand + option + F
control+alt+F
抽取常量Extract Constantcommand + option + C
control+alt+C
抽取参数Extract Parametercommand + option + P
control+alt+P
重构入口Refactor Thiscontrol + T
ctrl + alt + shift + T
0 0
- Android Studio快捷键大全
- Android Studio 快捷键大全
- Android Studio快捷键大全
- android studio 快捷键大全
- Android Studio 快捷键大全
- Android Studio快捷键大全
- Android studio快捷键大全
- Android Studio 快捷键大全
- Android studio 快捷键大全
- Android Studio 快捷键大全
- Android Studio快捷键大全
- Android Studio快捷键大全
- Android Studio快捷键大全
- android studio快捷键大全
- Android Studio 快捷键大全
- android studio快捷键大全
- android studio快捷键大全
- Android Studio 快捷键大全
- eclipse content assist不能使用的问题
- Python股市数据分析教程——学会它,或可以实现半“智能”炒股 (Part 2)
- 使用 Windows live writer 写 CSDN 博客
- VS2010如何打开VS2012的文件
- vue+phonegap(cordova)整合Android开发
- Android studio 快捷键大全
- 数据持久化存储:FMDB的使用
- 云服务器和虚拟主机有哪些区别
- linux下测试磁盘的读写IO速度(IO物理测速)
- 重构-改善既有代码的设计读书笔记(十)
- 基本的IP数据包结构
- MT6737 Android N 平台 Audio系统学习----TinyAlsa
- windows xp/2003 0day漏洞临时防范方法
- 加@WebServlet注解后URI跳Servlet失败(例如验证码功能)