[Android] Android Studio shortcut keys (Windows)

Very comprehensive: link 1
1. Find the method in the current class Ctrl + F12

2. Turn variables into global internal variables: Ctrl + Alt + F

3. Rename: shift + F6

4. Code formatting: Ctrl + shift + L

5. Extract ordinary strings as global constants: Ctrl + Alt + C

6. Return to which file is currently being edited: Alt + F1, 1 (Alt + F1, press 1 directly) Return to the cursor focus that was just edited: Esc

7. Enter some actions: Ctrl + Shift + A

8. Extract variables into local variables: Ctrl + Alt + V

9. After selecting the code, Surround with: Ctrl + Alt + T

10. Quickly construct get, set, toString, constructor: Alt + Insert

Guess you like

Origin blog.csdn.net/qq_30885821/article/details/108805633