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