Let eclipse support writing automatic hints for html/js/css/jsp pages when developing the Java Web

Source: Internet
Author: User

When you usually use Eclipse to develop JSP page Smart hints effect is not ideal, in fact, eclipse can also be like Visual Studio 2008 completely smart hint HTML/JS/CSS code, using the eclipse comes with the plug-in, no need to install additional plug-ins, the following steps

1. Open Eclipse→windows→preferences→java→editor→content Assist

To modify the value of auto Activation triggers for Java: Zjava Click the Apply button



2. Continue opening javascript→editor→content Assist

Modify the value of auto Activation triggers for JavaScript to: ZJS Click the Apply button

3. Continue opening web→html files→editor→content Assist

Modify prompt when these characters is inserted: The value is: zhtml Click the Apply button

4. Open file→export→genral→preferences→ Export a file to any location, and then open the file with 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, after importing the newly edited file, all settings are complete, now go to test it (absolutely available)

Let eclipse support writing automatic hints for html/js/css/jsp pages when developing the Java Web

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.