| 快捷键 | 在AS keyMap中的名称 | 作用 |
|---|---|---|
| Command+o | class… | 查找类 |
| command+f | Find… | 在当前文件中查找 |
| command + shift + f | Find in path… | 全局查找内容 |
| command + L | go to line | 跳到指定行 |
| command + shift + b | ReBuild project | 构建工程 |
| command + ctrl + c | Clear project | 清理工程 |
| command + d | Duplicate line or block | 复制并粘贴对应行/区块 |
| command + c | Copy | 复制当前行 |
| command + ctrl + R | replace in path.. | 在当前工程中查找并替换 |
| command + R | replace | 在当前文件中查找并替换 |
| command + ctrl + G | select all occurrences | 在当前文件中选中指定字符 |
| ctrl + shift + T | rename… | 重构–重命名变量/方面名/类名… |
| ctrl + G | find usages | 查找指定变量/方面/类的所有引用 |
| command + alt + L | reformat code | 格式化代码 |
| ctrl + O | override methods | 添加getter/setter,重载函数 |
| command + ctrl + F | toggle full screen mode | 使AS 快速进入/退出全屏模式 |
| command + shift + A | find action… | 快速查找命令,终极大招 |
我最常使用的AS快捷键
最新推荐文章于 2026-08-10 08:01:45 发布

1877

被折叠的 条评论
为什么被折叠?



