Common shortcuts for Android Studio and how to follow the Eclipse shortcut keys

Source: Internet
Author: User

1. Display the list of recently edited files

Ctrl + E

2. Quick Open Class

Ctrl + N

3, quickly open the file (can be XML and other format suffix file)

Ctrl + Shift + N

4. Declaration of the current method

Alt + Q

5. Display parameter information

Ctrl + P

6, generate the constructor/getter/setter, etc.

Alt + Insert

7. Display class structure diagram

Ctrl + H

8. Return to last viewed location

Ctrl + Alt + left/right

9. Toggle Code View

Alt + left/right

10. Fast moving location between methods

Alt + Up/down

11. Find text

Ctrl + F

12. Format code

Ctrl + ALT + L

13. Optimizing Imported Classes and Packages

Ctrl + Alt + O

14. Delete Rows

Ctrl + Y

15. Intelligent input

Ctrl + Shift + Space

16, the capture block that produces all exceptions thrown in the code fragment/for loop/runnable block, etc.

Ctrl + Alt + T

17. Copy Rows

Ctrl + D

18. Global Lookup

Double Shift

But for those who switch from eclipse, such shortcuts are very uncomfortable, is there any way to follow the shortcut keys in eclipse? Please look!

Open the setting panel in Android Studio and select Keymap, which is the shortcut by default.

See below How to use Eclipse shortcut keys.

As you can see, Android Studio retains a variety of shortcut keys for us. We choose Eclipse, save.

The world has become beautiful again ~ ~

Common shortcuts for Android Studio and how to follow the Eclipse shortcut keys

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.