1. Display the list of recently edited files
Ctrl + E
2. Quick Open Class
Ctrl + N
3, quickly open the file (can be XML and other format suffix file)
Ctrl + Shift + N
4. Declaration of the current method
Alt + Q
5. Display parameter information
Ctrl + P
6, generate the constructor/getter/setter, etc.
Alt + Insert
7. Display class structure diagram
Ctrl + H
8. Return to last viewed location
Ctrl + Alt + left/right
9. Toggle Code View
Alt + left/right
10. Fast moving location between methods
Alt + Up/down
11. Find text
Ctrl + F
12. Format code
Ctrl + ALT + L
13. Optimizing Imported Classes and Packages
Ctrl + Alt + O
14. Delete Rows
Ctrl + Y
15. Intelligent input
Ctrl + Shift + Space
16, the capture block that produces all exceptions thrown in the code fragment/for loop/runnable block, etc.
Ctrl + Alt + T
17. Copy Rows
Ctrl + D
18. Global Lookup
Double Shift
But for those who switch from eclipse, such shortcuts are very uncomfortable, is there any way to follow the shortcut keys in eclipse? Please look!
Open the setting panel in Android Studio and select Keymap, which is the shortcut by default.
See below How to use Eclipse shortcut keys.
As you can see, Android Studio retains a variety of shortcut keys for us. We choose Eclipse, save.
The world has become beautiful again ~ ~
Common shortcuts for Android Studio and how to follow the Eclipse shortcut keys