Common shortcut keys of Android Studio and how to use the shortcut keys of Eclipse

Source: Internet
Author: User

Common shortcut keys of Android Studio and how to use the shortcut keys of Eclipse

Common shortcut keys of Android Studio and how to use the shortcut keys of Eclipse

1. display the list of recently edited files

Ctrl + E

2. Quick Open Class

Ctrl + N

3. Quickly open a file (it can be a file with extensions of various formats such as XML)

Ctrl + Shift + N

4. Statement of the current method

Alt + Q

5. Display parameter information

Ctrl + P

6. Generate constructors, Getter, and Setter.

Alt + Insert

7. display class structure diagram

Ctrl + H

8. Return to the previous browsing position

Ctrl + Alt + left/right

9. Switch the Code view

Alt + left/right

10. fast moving between methods

Alt + Up/Down

11. Search for text

Ctrl + F

12. format the code

Ctrl + Alt+ L

13. Optimized imported classes and packages

Ctrl + Alt + O

14. Delete rows

Ctrl + Y

15. Smart Input

Ctrl + Shift + Space

16. Capture blocks/for loops/runnable blocks for all exceptions thrown in code snippets

Ctrl + Alt + T

17. Copy rows

Ctrl + D

18. Global Search

Double Shift

19. Automatic completion of type conversion code

Alt + Enter

20. format the code (locking QQ is also the shortcut key. You need to go to the settings panel to cancel it; otherwise, the format Code cannot be used when QQ is enabled)

Ctrl + Alt + L

 

However, for those who have switched from Eclipse, this shortcut key is very uncomfortable. Is there a way to use the shortcut key in Eclipse? Please see!

Open the Setting panel in Android Studio and select a Keymap item. By default, this shortcut key is used.

See how to use the Eclipse shortcut.

As you can see, Android Studio provides a variety of shortcut keys for us. Select Eclipse and save.

For more information about Android Studio, see the following links:

Install Android Studio in Ubuntu 15.04

The simulator in Android Studio 2.0 has been increased by 50 times.

Full process of installing Android Studio on Ubuntu 12.04 (64-bit)

Early adopters of Android Studio v0.1

Android Studio tutorial

Android Studio Development Guide

How to solve the problem that Android Studio sets the topic and does not support Chinese Characters

Android Studio download and installation and solutions that cannot be opened

Graphic tutorial for installing Android Studio

Install Android Studio 1.3 on Ubuntu (developed by Google Android IDE)

Android Studio details: click here
Android Studio: click here

This article permanently updates the link address:

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.