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)。
假設您實現(xiàn)了一個接口,然后只需單擊此快捷方式,即可快速導入該界面提供的所有方法。
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: