In the daily use of Eclipse to develop JSP pages, Java code, the effect of intelligent prompts is not as good as Visual Studio
Fully intelligent prompts for HTML/JS/CSS code, followed by a few simple Settings to Eclipse to achieve the desired effect.
The detailed steps are as follows:
Step 1: Open Eclipse →Windows→Preferences→Java→Editor→Content Assist; Modify the Auto Activation
Triggers for Java with a value of:.abc Click the Apply button, as shown below:
\
Step 2: Continue to open JavaScript→Editor→Content Assist to modify Auto Activation Triggers for JavaScript
ABC click the Apply button, as shown in the figure below:
\
Step 3: Continue with Web → HTML Files→Editor→Content Assist to modify Prompt when these characters
[Are inserted:] Click the Apply button, as shown here:
\
Step 4: After setting the above three steps, click the “OK” button; Then open File→Export→Genral→Preferences→Next→Browse
File to any location → File save type EPF →Finish, as shown below:
\
Step 5: Use Notepad or another text tool to open the file, Ctrl+F to find.abc and change its value
.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW.
To find. ABC and its value to. AbcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW
To find the HTML and its value to the < = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW
Save the file after modification.
Finally: Open Eclipse →File→Import→Genral→Preferences. After importing the newly edited File, all Settings are complete and you are ready to test it.
\
\
\