Shortcut Keys for Android studio for quick and practical windows, available for test, androidstudio

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.