Android stuido Common shortcut keys

Source: Internet
Author: User

The difference between the shortcut keys in Eclipse and studio is still larger, and by contrasting the two, the memory is deeper.
Reference: Eclipse shortcut key Guide,
Android Studio shortcut keys

Common shortcut keys

Display the list of shortcut keys: ctrl+shift+l (Eclipse)

function Eclipse Android Studio
Open Resource Ctrl+shift+r Ctrl+shift+n
Open type Ctrl+shift+t CTRL + N
Importing packages Ctrl+shift+m ALT + ENTER
Displays the structure of the current file Ctrl+o Ctrl+f12
Formatting code Ctrl+shift+f Ctrl+alt+l (conflicts with the lock screen key in Ubuntu)
Organization Import Ctrl+shift+o Ctrl+alt+o
Move the contents of the current line up or down ALT + arrow key ctrl+shift+ Direction key
Automatically generate a Get Set method Alt+shift+s Press R again Alt+insert
Renaming Alt+shift+r Shift+f6
Code Helper alt+/ Ctrl+shift+space Auto-Complete code
CTRL + SPACE Code hint (will conflict with IME toggle)
Ctrl+alt+space class name or interface name hint
Ctrl+p Method Parameter Hints
Row operations Ctrl+d Deleting rows Ctrl+x Deleting rows
Ctrl+d Copying rows
Position in a row Ctrl+l
Go back to the last browse location ALT + Left/right ctrl+alt+ left/right (conflict with Ubuntu toggle view)
Comments ctrl+/comment when moving forward ctrl+/or ctrl+shift+/(//or/.../)
Debugging
function Eclipse Android Studio
Run the program Ctrl+f11 SHIFT+F10 run Current, ALT+SHIFT+F10 select Run Program
Single-Step jump in F5 F7
Single Step execution F6 F8
Single Step Back F7 Shift+f8
Go on F8 F9
View variables Shift+ctrl+i Alt+f10
Calculation Alt+f8
Stuido Special

Ctrl+q Quick view of the class, function of the document asking information description
Ctrl+p Method Parameter Hints
ALT + Left/right Toggle Code View
ALT + Up/down Fast move location between methods
Alt+1 maximize the current edit or view (and vice versa)
Ctrl+e or Alt+shift+c recently changed code

Some basic shortcut keys, if you need a complete shortcut key, you can learn the edge of depth.

Android stuido common 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.