What to do when you re-install eclipse

Source: Internet
Author: User

When we want to install eclipse in the new environment, often do a lot of personality modification and install some plug-ins, here is a summary:

first, plug-in1. SVN plugin (subclipse)

  Plugin website:http://subclipse.tigris.org

Installation method:

    • Install using Eclipse's install new software

Go to the website to find the plugin for your SVN version, copy the URL and install it using Eclipse's install new software. See below for details :

Official web page jump to download page

Select the desired version copy URL on the download page

Choose Help-->install New Soft ware in eclipse

Fill in the address of the plugin you just copied

Select the item that you want to download, and then always next

After the installation is complete, see if there is a team in windows-->preferences.

Ii. configuration of the 1.JDK version of the personality

We may have multiple JDK on one computer, plus the development tool comes with a lot of versions, it's confusing. You need to specify the JDK yourself to rest assured.

To modify a path:

  Window-->preferences-->java-->installed JREs

  

Window-->preferences-->java-->compiler selecting the appropriate compilation version

Configuration of 2.maven

Configure your own MAVEN version, for ease of administration, try not to apply the version that comes with the development tool and add your own MAVEN version. maven:http://maven.apache.org/

Set up your own MAVEN library. Note: do not include spaces and kanji in the address of the MAVEN library . The address of the local repository is obtained by reading the configuration in the above Settings.xml , and the configuration in the settings.xml is shown in figure

Settings.xml the configuration of the library address:

Some settings for Maven can make eclipse run faster

3. Font settings

Window----Preferences---appearance---Colors and Fonts-------Text Font---Ed It I like Calibri fonts

4. Default formatting for annotations and new methods

Window---Preferences----and code Style----code Templates

You can save your favorite formats as XML, and import them on the line.

Here are some common comments:

Files Note:

/**

* @Title: ${file_name}

* @Package ${package_name}

* @Description: ${todo} (describe what the file does in a word)

* @author your name.

* @date ${date} ${time}

* @version V1.0

*/

Type (Types) Comment (The comment of the Class):

/**

* @ClassName: ${type_name}

* @Description: ${todo} (here is a word describing the role of this class)

* @author your name.

* @date ${date} ${time}

* ${tags}

*/

Field Comment:

/**
* @Fields ${field}: ${todo} (describe what this variable means in a sentence)
*/

Method (Methods) Comment:

/**

* @Title: ${enclosing_method}

* @Description: (Describe the function of the method, if the method contains complex business judgment processing, need to indicate logic or ideas)

* ${tags}

* @author your name.

* @throws

*/

What to do when you re-install eclipse

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.