Java Web Learning (ii) configuration of Eclipse

Source: Internet
Author: User

Java Web Learning (ii) configuration of Eclipse

First, download eclipse

1. Go to eclipse website to download

, download the Eclipse IDE for JAVEEE developers version, and then choose from 32-bit or 64-bit for Windows systems (64-bit recommended). If your machine has too little memory, you can choose the older version of Eclipse: Eclipse Indigo, Eclipse Juno, Eclipse Kepler, and more.

2. Unzip the installation

Open the zipped package and drag the eclipse inside to the specified location to unzip it.

Second, Eclipse is configured

1. Configuring the JDK

Windows----Preference----Java----installed JREs

Here is a picture, at a glance.

2. Configure Smart Tips

Windows-----preference--in the upper-left search box, enter "content"

Set in the Java---editor---Content Assist

Auto activation triggers for Java value is Zjava

Set in the JavaScript---editor----Content assits

Auto activation triggers for JavaScript value is Zjs

Set in the HTML Files---editor---Content assits

Prompt when these characters is instead value is zhtml

Set in the XML---XML Files---editor----Content assits

Prompt when these characters is instead value is Zxml

Then, save OK.

Then the Eclipse workspace main interface

Click "Browse ..." Button.

Set the save location, and then set the file name to save. Then, click "Save" to export the success. Final finish.

Important:

1. Use the document editor to open the configuration file you just saved (Content Assits_all)

2, in turn, query and replace, I give the value:

1) Find the Zjava and replace it with the following:

. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

Look like this, replace it in turn.

The query "Zjs" is replaced by:

. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

Query "zhtml" and change it to <=.abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

Query "Zxml" and change it to <=:abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

Finally, save the configuration file.

Open Eclipse again to import the modified configuration file.

When you open eclipse→file→import→genral→preferences and import the file you just edited, all settings are complete.

Try a new project! The effect of self-feeling more satisfied, in fact, here copied a buddy son article, now give the article address:

http://blog.csdn.net/cs78799662/article/details/5632173

3. Configure Ctrl+space code hints.

Here to reset this shortcut, because I do. NET used to VS, in VS is ctrl+j. So I changed it by the way.

Windows----->general------>key

Find the content in command assist modify Ctrl+j

Well, the entire eclipse configuration is here!

Java Web Learning (ii) configuration of 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.