Eclipse tips, shortcut keys

Source: Internet
Author: User

Shortcut keys:

CTRL + 1, quick fix

CTRL + D, quick Delete line

SHIFT + Enter To quickly move the cursor to the next line

CTRL + F11, running code

Alt +↑/↓, move lines quickly

CTRL + Alt +↑/↓, quick copy Line

CTRL + M, zooming in on the workspace

CTRL +/, quick comment

CTRL + click the class name to view the parent class

When the method signature is complete, the Javadoc will automatically generate the parameters and return the information rows

Shortcut keys Function
CTRL + SHIFT + O Import a library package
ALT +/ Display the prompt information

Skills:

Double-click the page label to maximize or restore

Q: Warning: Unexpected text found in layout file "" "

A: Analysis: There is no visible character. Solution: Project-->clean ...

Q: How to output debugging information?

A:SYSTEM.OUT.PRINTLN (msg); Can, but is not recommended.

It is recommended to use Logcat.

LOG.D (tag, msg);

Logs are available in five ways: V (verbose), D (Debug), I (info), W (warn), E (Error).

The tag tag can be used as the filter

Eclipse tips, shortcut keys

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.