When we use eclipse to develop JSP pages, the smart prompts are not very effective. After two hours today, we found that eclipse can completely intelligently prompt html/JS/CSS like Visual Studio 2008.CodeTo use the plug-in provided by ECLIPSE, you do not need to install the plug-in separately. The specific steps are as follows:
1. Open eclipse → windows → preferences → Java → editor → content assist
Modify auto activation triggers for Java to: zjava click Apply
2. Continue to open JavaScript → editor → content assist
Modify auto activation triggersJavascriptValue: zjs click Apply
3. Continue to open web → HTML files → editor → content assist
Modify the value of prompt when these characters are inserted to zhtml and click Apply.
4. Open File → export → genral → preferences → export a file to any location, open the file in notepad, CTRL + F search for zjava, and change its value to. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvw
Search for zjs and change its value to. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvw.
Search for zhtml and change its value to <=. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvw.
Save the file.
5. open eclipse → file → import → genral → preferences. After importing the file you just edited, all the settings are complete. Now, let's test whether it feels better than before. Haha ,,, if you have any questions, please reply to me directly.
Below are the images after successful debugging: