Android Studio Shortcuts

Foram Adeshara
AndroidPub
Published in
2 min readSep 21, 2018

Are you struggling to complete you project in short period of time? Do you wish to deliver your product in shorter notice? Try to speed up your development with following shortcuts.

Mac

  1. Indentation: Option+Command+L

2. Delete unused import: Control+Option+O

3. Code Completion (Shows hints): Command+Space

4. Issue quick fix: Option+Enter

5. Surround code block: Command+ Option+ T

6. Line Comment or Uncomment: Command+ /

7. Block Comment or Uncomment: Command+ SHIFT + /

8. Go to previous/next method: Option+ UP/DOWN

9. Show parameters for method: Command+ P

10. Quick documentation lookup: Command+ Q

11. Delete line: Command+ Y

12. Go to class: Command+ N

13. Go to file: Command+ Shift + N

14. Navigate open tabs: Option+ Left-Arrow; Option+ Right-Arrow

15.Lookup recent files: Command+ E

16. Go to line: Command+ G

17. Navigate to last edit location Command+ SHIFT + BACKSPACE

18. Go to declaration: Command+ B

19. Go to source: F4

20. Go to super Class: Command+ U

22. Toggle: Command+~

23. Complete Paranthesis: Command+Shift+Enter

Windows

  1. Indentation: Ctrl+Alr+L

2. Delete unused import: Ctrl+Alt+O

3. Code Completion (Shows hints): Ctrl+Space

4. Issue quick fix: Alt+Enter

5. Surround code block: CTRL + ALT + T

6. Line Comment or Uncomment: CTRL + /

7. Block Comment or Uncomment: CTRL + SHIFT + /

8. Go to previous/next method: ALT + UP/DOWN

9. Show parameters for method: CTRL + P

10. Quick documentation lookup: CTRL + Q

11. Delete line: CTRL + Y

12. Go to class: Ctrl + N

13. Go to file: Ctrl + Shift + N

14. Navigate open tabs: ALT + Left-Arrow; ALT + Right-Arrow

15.Lookup recent files: CTRL + E

16. Go to line: CTRL + G

17. Navigate to last edit location CTRL + SHIFT + BACKSPACE

18. Go to declaration: CTRL + B

19. Go to source: F4

20. Go to super Class: CTRL + U

21. Generate Getter Setter Code: Alt+Insert

22. Toggle: Ctrl+~

23. Complete Paranthesis: Ctrl+Shift+Enter

Thanks for reading this article. Be sure to click ❤ below to recommend this article if you found it helpful. It means a lot to me.

For more new Articles on Android follow me here.

--

--