Common shortcut keys for eclipse development in Android

Source: Internet
Author: User

Create a project:CTRL + nBasically all the software is common.

Quick save:CTRL + S
This is also common

Close the file:CTRL + WAlso common


Comments and uncomments are:CTRL +/Select multiple lines for multi-line comments. Just move the cursor to the line for single-line comments.

Generate a plate commentAlt + Shift + J
, Comment on a single row As ctrl +/

Organization import:CTRL + Shift + O
Quickly import required classes and clear unnecessary classes (that is, automatically help us fill in the top import of the Program)

Delete the entire row:CTRL + dDelete the row where the cursor is located

Locate the Last edited row:CTRL + q 

Locate the specified row:CTRL + L logcatUse this method to locate the row that will prompt an error.
File rename:Alt + Shift + R
By default, eclipse cannot be renamed by clicking the left button twice. You need to right-click the menu
Code alignment:CTRL + Shift + FThe Code alignment of the entire file is also applicable to the Aptana Editor, which supports HTML, JavaScript, and so on.
Automatic indent:CTRL + IThe selected code is automatically indented, which is different from the code alignment. This will not automatically wrap the line after the semicolon. Aptana is not applicable.
Quick Code SearchCTRL + F, Undo to the last Ctrl + z
Smart content awarenessAlt +/
, This shortcut can easily match the class information we use,/on the keyboard and? Is the same button.
You can call the run as dialog box to useCTRL + F11For debug debugging, you can use F11 directly.

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.