Android stdio shortcut keys use (same as eclipse)

Ctrl+G / Ctrl+Alt+Shift+G: Query where the variable or function or class is used or called. The latter is a complex expression of the former. You can select the scope of the query.

F4: View class inheritance relationship

F2: View document description (function usage description)

Ctrl+E: View recently opened files

Ctrl+Shift+E: View recently edited files

double Shift: global search, this view is slightly different from Alt+H, this is a global file search, to the file name level.

Ctrl+Shift+R: Quickly locate the file you want to open.

Ctrl+K: After selecting a variable, quickly locate the next place to use the variable

Ctrl+D: Delete the line of code at the cursor position

Ctrl+X: Cut the line of code where the cursor is

Alt+↑: Move up the line of code where the cursor is

Alt+↓: move down the line of code where the cursor is

Alt+H: search function, global search

Alt+Shift+↓/Ctrl+C: Copy the line of code where the cursor is located to the next line

Ctrl+O: Quickly find functions and variables in the current class

Ctrl+Shift+R: modify the name

Alt+Enter: Import package

Alt+←: Go back, locate to the last view or edit place

Alt+→: Position forward, for example, after positioning to the last point and want to go back, you can use this shortcut

Ctrl+/: When the line is commented, press the uncomment again

Ctrl+Shift+/: Module comment, de-comment can be pressed again, pay attention to the "/" here cannot be used with the small keyboard

Ctrl+Shift+Keyboard/: Folding code (Ctrl+Shift+Keyboard*This doesn’t work anymore, I’m not free today, I will solve this problem later and update it). Of course, the notebook does not have a small keyboard, you can change the shortcut yourself key

Ctrl+Alt+S: Open the settings interface

Ctrl+Alt+Shift+S: Open the Project Structure interface

Alt+Shift+X: Run

Alt+Shift+D: Debug operation

Ctrl+F9: Compile the project

Ctrl+Shift+K: Push file to Server (git)

Debug shortcut keys

F5: But enter the function without debugging.

F7: Return to the calling place from inside the function.

F8: Execute to the next breakpoint. If there is no breakpoint, the execution will be completed.

Guess you like

Origin blog.csdn.net/xifei66/article/details/54138432