Mac系统下AndroidStudio常用的一些快捷键

2021-07-02  本文已影响0人  业精于勤_荒于嬉

1、删除当前行

Command+后退键
image

2、向左删除单词

Option+后退键
image

3、选中下一行/选中上一行

Shift+ ↑ /Shift+↓
image

4、复制当前行或选中的内容到下一行

Command+D
image

5、字母大小写切换

Shift+Command+U
image

6、打开偏好设置

Command+,
image

7、撤销(Keymap中对应的名称:Undo)

Command+Z
image

8、恢复(Keymap中对应的名称:Redo)

Command+Shift+Z
image

9、复制当前文件路径

Command+Shift+C
image

10、在当前文件中查找

Command+F
image

11、在当前文件中替换

Command+R
image

12、在所有文件中查找

Shift+Command+R
image

13、查找使用的地方

Option+fn+F7

[图片上传失败...(image-18ec43-1625205745112)]
14、显示使用的地方

Option+Command+fn+F7
image

15、查看参数信息

Command+P
image

16、查看最近打开的文件

Command+E
image

17、查看最近修改的内容

Option+Shift+C
image

18、后退/前进

Command+[ / Command+]

[图片上传失败...(image-324f88-1625205745112)]
19、查看下一个错误

fn+F2

[图片上传失败...(image-2ee5e5-1625205745112)]
20、重写方法(Override Methods)/实现方法(Implement Methods)

Control+O / Control+I

[图片上传失败...(image-825bda-1625205745112)]


image

21、查看代码生成选项(Generate)

Command+N
image

22、插入代码模板

Command+J
image

23、展开/折叠代码块

Command+ +/Command+ -
image

24、全部展开/全部折叠

Shift+Command+ +/Shift+Command+ -

[图片上传失败...(image-d8e74f-1625205745112)]
25、上下移动语句

Shift+Command+↑/Shift+Command+↓

[图片上传失败...(image-c11742-1625205745112)]
26、移动类

fn+F6

[图片上传失败...(image-b06f6b-1625205745112)]
27、复制类

fn+F5

[图片上传失败...(image-529dd2-1625205745112)]
28、提取方法

Option+Command+M
image

29、清理项目(Clean Project)

Option+C
image

30、运行(Run)

Control+R

[图片上传失败...(image-a751cf-1625205745112)]
31、最小化窗口

Command+M
image

32、查看问题信息

Command+6

[图片上传失败...(image-f80d3d-1625205745112)]

参考大佬的文章,https://juejin.cn/post/6967315063547887653。摘选出了一些经常用到的快捷键。非常感谢

上一篇下一篇

猜你喜欢

热点阅读