Android Studio shortcut keys for Android Studios
ALT + ENTER import package, auto fix
CTRL + N Find class
Ctrl+shift+n Finding files
Ctrl+alt+l Formatting Code
Ctrl+alt+o Optimizing imported classes and Packages
Alt+insert generate code (such as Get,set method, constructor, etc.)
Ctrl+e or Alt+shift+c recently changed code
Ctrl+r replacing text
Ctrl+f finding text
Ctrl+shift+space Auto-Complete code
CTRL + Space Code hints
Ctrl+alt+space class name or interface name hint
Ctrl+p Method Parameter Hints
Ctrl+shift+alt+n find a method or variable in a class
Alt+shift+c vs. recently modified code
Shift+f6 Refactoring-Renaming
ctrl+shift+ First up key
Ctrl+x Deleting rows
Ctrl+d Copying rows
ctrl+/or ctrl+shift+/annotation (//or)
CTRL+J Automatic Code
Ctrl+e recently opened files
CTRL+H Display class structure diagram
Ctrl+q displaying comment documents
Alt+f1 find where the code is located
Alt+1 quickly open or hide the engineering panel
ctrl+alt+ Left/right back to the last viewed location
ALT + Left/right Toggle Code View
ALT + Up/down Fast move location between methods
The Ctrl+shift+up/down code moves up/down.
F2 or SHIFT+F2 highlighting error or warning quick location
When the code tag is entered, press TAB to generate the code.
Select the text, press CTRL+SHIFT+F7, highlight all the text, and press ESC to highlight the disappear.
Ctrl+w selected code, continuous press will have other effects
Select the text, press ALT+F3, look down the same text, and highlight it.
Ctrl+up/down cursor jumps to the first or last line
Ctrl+b quickly open the class or method at the cursor
Most common shortcut keys
1.ctrl+e, you can display a list of recently edited files
2.shift+click can close files
3.ctrl+[or] can jump to the beginning of the curly brace
4.ctrl+shift+backspace can jump to the last edited place
5.CTRL+F12, the structure of the current file can be displayed
6.ctrl+f7 can query the current element's reference in the current file, and then press F3 to select
7.ctrl+n, you can quickly open the class
8.ctrl+shift+n, you can quickly open files
9.alt+q can see the declaration of the current method
10.ctrl+w can select words followed by statements followed by functions.
11.ALT+F1 you can position the element you are editing in each panel
12.ctrl+p, can display parameter information
13.ctrl+shift+insert can select Clipboard contents and insert
14.alt+insert can generate constructors/getter/setter, etc.
15.ctrl+alt+v can introduce variables. For example, to assign a variable to a SQL in parentheses
16.ctrl+alt+t can wrap code inside a piece, such as Try/catch
17.alt+up and Alt+down can be moved quickly between methods
Android Studio shortcut keys for Android Studios