- cmd+O:找class文件
- shift+cmd+O:找文件
- cmd+E:最近文件
- cmd+D:
- 在Project view下选中两个目录,则比较之
- 选中两个jar,则比较之
- 复制当前行或所选块
- contr+空格:基本代码补全
- contr+shift+空格:智能代码补全
- cmd+K:Invoke the Commit Changes dialog
- cmd+F:shows the search pane in file
- cmd+R:replace string in file
- cmd+P:打开方法参数形式
- shift+cmd+F:shows the search pane
- shift+cmd+R:replaces string
- option+enter:Edit RegExp
- contr+T:refactoring applicable to the current context
- contr+.:When using autopopup Code Completion,you can select the first item using contr+.. The select name is automatically entered in the editor followed by dot.
- option+F12:launch the embedded local terminal.
- F1:
- When in a Code Completion lookup,press F1 to show documentation for a lookup item, including class constructors.
- To quickly see the documentation for a class or method at caret.
- shift+F1:在光标处以浏览器形式打开文档
- option+F7:全局找特定的类、方法、变量所调用的地方
- shift+cmd+F7:当前文件下高亮查找
- cmd+G and shift+cmd+G:在高亮用法移动
- cmd+B:To navigate to the declaration of a class, method or variable used somewhere in the code,position the caret at the usage and press it.
- option+cmd+B:定位到抽象方法的实现处
- cmd+F12:Navigate in the currently edited file.
- shift+F6:Rename your classes,method and variables with automatic correction of all places where they are used.
- contr+O:重写方法
- contr+I:实现接口
- cmd+N:Generate getter and setter methods for any fields of class in the editor.
- option+cmd+V:选中一行链式调用,然后按此快捷键就可以以新变量来引用此链式调用
- cmd+/:comments or uncomments the current line or selected block with //…
- option+cmd+/:comments or uncomments with /*…*/
- contr+shift+Q:查看方法定义
- F2/shift+F2:在语法错误中上下移动
- option+cmd+up/option+cmd+down:在编译错误中上下移动
- cmd+J:Complete any valid Live Template abbreviation
- contr+shift+J:合并行
- shift+cmd+V:粘贴当前剪贴板
- contr+H:查看继承结构
- option+F8:调试模式中查看值
Mac下Android Studio快捷键
最新推荐文章于 2021-07-20 17:42:25 发布