Android Studio brings tons of keyboard shortcuts that helps developers to keep hands more on keyboard rather than relying much on the mouse. The lesser you use mouse, results in faster development. Well, let us see some of the shortcuts for android studio for Mac user.
Android Studio Shortcuts for Mac OS X
CMD + SHIFT + O
ANDROID STUDIO COMMAND TYPE | MAC OS X SHORTCUTS |
---|---|
Reformat code | OPTION + CMD + L |
Show selected API documentation | F1 / FUNCTION + F1 |
Generate Source Code | CMD + N |
Jump to source | CMD + DOWN ARROW KEY |
Delete Line | CMD + BACKSPACE |
Search by symbol name | OPTION + CMD + O |
Build | CMD + F9 |
Build and Run | CTRL + R |
Toggle Project Sidebar Visibility | CMD + 1 |
Open Class | CMD + O |
Open File ( including resources) | |
Recent Files Opened | CMD + E |
Recently edited files | CMD + SHIFT + E |
Previous Next/Previous Error | F2 / FUNCTION F2 |
Last Edited Location | CMD + SHIFT + BACKSPACE |
Last Location | CMD + [ and CMD + ] |
Go to Declaration | CMD + B |
Go to Super | CMD + Y |
Next Word Navigation | ALT + LEFT/RIGHT ARROW KEY |
Find | CMD + F |
Find in Path | SHIFT + CMD + F |
Refactor Class, Method | CTRL + T |
[alert type=white ]
Read Latest Android Posts
Switching Between Activities – Example
Android Studio 10 Things You Didn’t Know You Could Do
Start activity once notification clicked
[/alert]