Android Studio shortcut keys

Source: Internet
Author: User

Overwrite method Ctrl + O

Implement Interface Ctrl + I

Add code wrapping blocks for code such as (If/else try/catch) Ctrl + Alt + T

Quickly generate ALT + Insert

Code hint ALT + Enter

Remove the extra reference Ctrl + ALT + O

Organize your code Ctrl + Alt + L

Delete Row Ctrl + Y

Cut line Ctrl + X

Find Ctrl + F

Replace Ctrl + R

Quick Position Line Ctrl + G

Move up/down one line Ctrl + Alt + up/down

Move up/down one declaration (including original spacing) Shift + Ctrl + up/down

Global Search double-click Shift

Global Search class Ctrl + N

Global search File Shift + Ctrl + N

Global search Tag Shift + Ctrl + Alt + N

Code line Comment Ctrl +/

Code Multiline Comment Shift + Ctrl +/

View variable/method declaration/Definition position move mouse to variable or method Ctrl + left mouse button

In variable/method declaration/Definition View variable/method reference position Ctrl + B

View variable/method declaration/Definition position in variable/method reference position Ctrl +b

View the location referenced by the interface Ctrl + Alt + B

Find the location of the call will pop up a tree structure Ctrl + Alt + H (self test only works on the method)

View class/Method/Variable Parent class/parent class in definition/parent class declaration Ctrl + U

Select Code

Ctrl + W

Shift + Ctrl + left/right

There's a wrong place to look for directions


Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Android Studio 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.