12. Move between Design / Text tabs in layout’s view : control + shift + ← / →(Windows / Linux:alt + shift + ← / →)。
13. Close a current tab: cmd + w(Windows / Linux:ctrl + shift + a)。
14. Hide all windows : cmd + shift + F12 (Windows / Linux:ctrl + shift + F12)。
15. Minimize Android Studio instance : cmd + m(Windows / Linux:ctrl + m)。
16. Format your code: cmd + option + l (Windows / Linux:ctrl + alt + l)。
17. Auto-indent lines : control + option + i (Windows / Linux:ctrl + alt + i)。
18. Implement methods : control + i (Windows / Linux:ctrl + i)。
假设您实现了一个接口,然后只需单击此快捷方式,即可快速导入该界面提供的所有方法。
19. Smart code completion (按期望类型过滤方法和变量的列表):control + shift + space (Windows / Linux:ctrl + shift + space)。
20. Find : cmd + f(Windows / Linux: ctrl + f)。
21. Find and replace :cmd + r(Windows / Linux: ctrl + r)。
22. Move hardcoded strings to resources : option + return (Windows / Linux: alt + enter)。
当在文本上使用插入符号时,必须使用快捷方式。检查下面的gif: