We usually use eclipse to develop JSP pages when the smart tip is not ideal, today spent two hours to discover eclipse can also be as visual Studio 2008 as fully intelligent hint Html/js/css code, using Eclipse's own plug-ins, You do not need to install additional plug-ins, the following steps
1. Open Eclipse→windows→preferences→java→editor→content Assist
Modify auto activation triggers for Java value is: Zjava Click Apply button
As shown in figure:
2. Continue to open javascript→editor→content Assist
Modify auto activation triggers for JavaScript values are: ZJS Click the Apply button
As shown in figure:
3. Continue to open web→html files→editor→content Assist
Modify prompt when these characters are inserted: zhtml Click the Apply button
As shown in figure:
4. Open file→export→genral→preferences→ Export a file to any location, and then open the file in Notepad, ctrl+f find Zjava and then change its value to. Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvw
Then find Zjs and change its value to. ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVW
Then find zhtml and change its value to <=.ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVW
Save the file.
5. Open eclipse→file→import→genral→preferences, import just edited the file, all set up, now to test it, is not feeling better than before, Haha,,, there are questions you can directly reply to tell me.
The following is a successful debug picture: