Eclipse First Contact

Source: Internet
Author: User

. Set the encoding format

Windows->preferences ... Open the Preferences window, click the left navigation tree to General->workspace, find the "Text file encoding" option setting in the right view, one is default, and the other is select from the drop-down list (other). The default encoding for Eclipse workspace is the encoding format of the operating system, which is related to the settings of the operating system, and we can select the other radio button and select the desired encoding format from the drop-down list on the right side of the button (GBK, iso-8859-1, UTF-16, UFT-16 etc.).

Formatting pages can also be set to line breaks, Windows-style or Linux-style.


. Auto-Complete
The simplest way to modify this is: Windows-->preferences-->java-->editor-->content Asist, in auto activation triggers for There is only one "." In the text box behind Java. Now you can change it to ". Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz". Then you try again and you'll find that the completion function is almost the same as vs. You can also set up advanced settings in advance and favorite.

. modifying fonts


. Eclipse shortcut keys

CTRL + Shift h Quick Find class

Ctrl+l, enter the number of rows that will jump to the specified line number.

CTRL + SHIFT + P jumps to matching parentheses

F3 jump To Definition

Shortcuts to notes in Ctrl + K java files

Add comments in Ctrl +/XML

Uncomment in Ctrl + \ XML

CTRL + SHIFT + R Open resource file

CTRL + SHIFT + T Open Class

Problems encountered with Eclipse
======================
. Logcat did not catch log-----can consider restarting Logcat, (really can't only restart eclipse, I do not know if there is a better way)


Eclipse First Contact

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.