Shortcut Keys for Android studio for quick and practical windows, available for test, androidstudio
| Description |
Key Position |
| Code annotation (//) |
Ctrl +/ |
| Code annotation (/ /) |
Shift + Ctrl +/ |
| Format code |
Ctrl + Alt + L |
| Open a class |
Ctrl + n |
| Open a file |
Ctrl + shift + n |
| Open a symbol |
Ctrl + alt + shift + n |
| Show class inheritance relationships |
Ctrl + h |
| Import package, automatic correction |
Alt + press ENTER |
| Clear invalid package reference |
Alt + Ctrl + O |
| Search |
Ctrl + F |
| Search + replace |
Ctrl + R |
| Copy row |
Ctrl + d |
| Delete row |
Ctrl + Y |
| Move the current row up or down |
Alt + shift + up/down |
| Moving Method |
Ctrl + shift + up/down |
| Expand and narrow the selected range |
Ctrl + W/Ctrl + Shift + W |
| Quickly generate struct (try .. catch) |
Ctrl + Alt + T |
| The constructor/Getter/Setter can be generated. |
Alt + Insert |
| Automatic Code |
Ctrl + J |
| Quick rewrite Method |
Ctrl + O |
| Methods In the implementation Interface |
Ctrl + I |
| Collapse and expand all code blocks |
Ctrl + Shift + Plus, Minus |
| File method Structure |
Ctrl + F12 |
| Locate a method call |
Ctrl + Alt + H |
| Case-sensitive Conversion |
Ctrl + Shift + U |
| Display parameter information |
Ctrl + P |
| Locate a method call |
Ctrl + Alt + H |
| Recently opened files |
Ctrl + e |
| Recently edited File |
Ctrl + shift + e |
| Last edited location |
Ctrl + shift + backspace |
| Toggle bookmarks |
F11 |
| Use a notebook to switch bookmarks |
Ctrl + f11 |
| Returns the corresponding bookmarks. |
Ctrl + number |
| Show all bookmarks |
Shift + f11 |
| Search for Actions |
Ctrl + shift + |
Setting Automatic Import package in studio is very useful
You can automatically export packages and delete unnecessary packages.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.