In this post, you’ll learn about several Android Studio navigation shortcuts that can help make you more productive when developing Android apps.
Keyboard shortcuts can have a huge impact on developer efficiency and productivity.
Moving from command to command without taking your hands off the keyboard speeds up your development cycle and helps you take full advantage of the IDE.
Here are several of my favorite navigational shortcuts within Android Studio that I use on a daily basis.
Enter Action or Option
Lookup any command by name using a single shortcut. Extremely useful when first learning shortcuts.
(My personal favorite shortcut)
Mac: Command + Shift + A
Win: Ctrl + Shift + A
Open a Class (‘class’)
Allows you to search for, and open, a specific class
Mac: Command + O,
Win: Ctrl+N
Search Everywhere
Search the entire project for files, code, and menus
Mac: double shift
Win: double shift
Go to File
Look up, and go to, a specific file by name
Mac: Shift + Command + O,
Win: Ctrl + Shift + N
Back
Jump to previous location
Mac: Command + [ or Alt + Command + Left
Win: Ctrl + Alt + Left
Forward
Mac: Command + ] or Alt + Command + Right
Win: Ctrl + Alt + Right
Recent Files
Open list of recent files and quickly navigate between them
Mac: Comand + E
Win: Ctrl + E
Complete Current Statement
Will auto complete the current statement based on whatever that statement is. A basic statement will have the cursor moved to the end of the line and a semicolon added if using Java. If writing a method, the braces for the method body will be added and the cursor moved within the braces.
Mac: Comand + Shift + Enter
Win: Ctrl + Shift + Enter
There are many more Android Studio navigation shortcuts to be learned, and I’ll be exploring more in the future. Until then, check out this list to get you started.
. . .
Other Useful Resources
. . .
What are your favorite navigation shortcuts in Android Studio? Comment below or share on social media. I’d love to continue the conversation.
I love to meet/talk/discuss and help where I can. If you want to chat or ask a question you can follow me on Twitter, YouTube, Instagram and Facebook.