Android Studio Shortcuts
Hey! Android Guru, Tell me the truth sometimes getting through the android environment and clicking your way through every function and command you need in the android studio environment could be freaking hard, Right! Yea! I know that! That’s why I decided to put up this article together to reduce the amount of times you click on the mouse and concentrate on the keyboard which makes your coding faster and above all the right way for developers, as a developer for years I’ve come to realised that we love keyboards. True or false? Well depends on you.
In the android studio environment, there many buttons and functions to click, thanks to INTELLIJ for making it simple even with the much functionality.
Even with the simplicity, developers still need ways to move through things quickly without the use of mouse, if you are that developer, then this article is for you.
The shortcuts are divided into categories for simplicity
1. Navigation
2. Programming
3. General
Navigation Shortcuts
Go to class Ctrl + N
Go to file Ctrl + Shift + N
Navigate open tabs ALT + Left-Arrow or Right-Arrow
Lookup recent files CTRL + E
Go to line CTRL + G
Navigate to last edit location CTRL + SHIFT + BACKSPACE
Go to declaration CTRL + B
Go to implementation CTRL + ALT + B
Go to source F4
Go to super Class CTRL + U
Show Call hierarchy Ctrl + Alt + H
Search in path/project CTRL + SHIFT + F
Programming Shortcuts
Reformat code CTRL + ALT + L
Optimize imports CTRL + ALT + O
Code Completion CTRL + SPACE
Issue quick fix ALT + ENTER
Surround code block CTRL + ALT + T
Rename and refactor Shift + F6
Line Comment or Uncomment CTRL + /
Block Comment or Uncomment CTRL + SHIFT + /
Go to previous/next method ALT + UP/DOWN
Show parameters for method CTRL + P
Quick documentation lookup CTRL + Q
General Shortcuts
Delete line CTRL + Y
Safe Delete Alt + DELETE
Close Active Tab CTRL + F4
Build and run SHIFT + F10
Build CTRL + F9
All purpose (Meta) Shortcut CTRL + SHIFT + A
Thanks for Reading hope it helps.
This list will be updated periodically, so your contribution is appreciated. Drop your own Keyboard Shortcut and it will be added.