vs turn eclipse tools to get started quickly

Source: Internet
Author: User
Tags php download

Eclipse Tools Download

First of all, this article is applicable to students who have just started to learn Java, veteran Daniel can pass by.

Have to say that vs is really powerful, commonly used in the installation package is integrated, almost one-click installation, direct use, easy to operate. Eclipse has just started to be very uncomfortable with relative vs, and this article focuses on how to quickly get started with eclipse.

Eclipse tools Download, Java JDK configuration is not in the scope of this article, students who have just started to learn Java and interested in Java can search their own how to configure the JDK.

Chinese text

As the saying goes 工欲善其事 its prerequisite, from the official website to download Eclipse is English version, for I this English is not so much, is really a big difficulty, if there is no Chinese version of, I also recognized, since the official website is provided Chinese package, then the first Chinese.

First go to official website http://www.eclipse.org/babel/downloads.php Download language pack My eclipse download is the neon version, so the language pack also selected neon, click in.

Click to enter, such as, select Chinese (Simplified), of course, you can also scroll down to the right side to the specified position

Choose this zip package, download it, unzip it into the Eclipse directory.

Editor's Chapter

First syntax coloring

Menu Window-Preferences java-editor-syntax coloring as

Left square marker, select the corresponding, right ellipse marker, adjust color, bold, italic, etc., I used to tube vs, so the editor content of the color as far as possible to adjust the same as vs.

Then there is the format code, and Eclipse's shortcut key is Ctrl+shift+f

The Eclipse default interface format is somewhat compact, such as curly braces {The default is a different line in VS, Eclipse is behind the current line, the above adjusts the color and continues to adjust the format;

Menu Window-Preferences java-code style-formatter such as

Operation continues, new to the right as

Enter the name in the pop-up window, tick open the edit dialog immediately, and then OK, you can adjust the interface code format, as shown, the left side of the adjustment, the right side of the preview, I adjust the same as the VS as much as possible, so as to minimize the beginning of the tool is not accustomed to quickly get started with eclipse.

Smart Tips

VS's only hint has been quite bull, in addition ReSharper is more powerful, in the beginning to use Eclipse when the default is to enter a decimal point after the hint is quite inconvenient, such as, in the input StringBuilder when creating objects, there is no hint, so, If a class is not fully aware of the name and capitalization, it is not good to have a single letter error, followed by the StringBuilder when the object instance is created and the operation is done by default. Enter the decimal point before the hint, quite inconvenient, the following adjustment, as long as the input on the prompt

The adjustment method is as follows: Window-Preferences java-Editor-content assist tag location by default only decimal point, the decimal point and lowercase letters and capitals are filled in.

Shortcut Key Chapter

Eclipse also provides a very rich shortcut keys, this can be self-Baidu, here only to say a few tools on the use of, and others do not need to remember, as long as remember the usual few can be.

ctrl+/Add Delete Comment

Ctrl+shift+o Auto Import Package If you copy a piece of code from somewhere else, press this to import the packets that are referenced in it.

Ctrl+shift +f Formatting Code

Attached vs format template

vs turn eclipse tools to get started quickly

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.