Androidstudio shortcut keys Use

Source: Internet
Author: User
Frequently used shortcut key use collection

1. Ctrl+d: Set up copy and paste two operations, if there is a selected part of the copy of the selected section, and after the selection of paste out, if there is no selected part, copy the line of the cursor, and paste it under the line.

2.CTRL+ALT+L: Format code (Eclipse ctrl+shift+f)

3.alt+enter: Import package, auto fix

4.ctrl+n: Quick Open Class (Eclipse ctrl+shift+r)

5.ctrl+space: Code Intelligence Tips (Eclipse alt+/)

6.ctrl+alt+s: Setting the interface

7.ctrl+shift+alt+s: Project Construction

8.CTRL+J: Automatic code completion (SOUT-->SYSTEM.OUT.PRINTLN)

9.ctrl+/, ctrl+shift+/: Notes

10.ctrl+o: When a subclass wants to override a method of a parent class, press this key combination to display the methods of all the parent classes.

11.alt+insert: Generate code (such as Get,set method, constructor, etc.)

12.ctrl+alt+o: Optimizing Imported Packages


key combination Use cases ①. Full shortcut key complete Findviewbyid

②. Shortcut keys quickly generate JavaBean


Androidstudio shortcut keys Use

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.