时间:2021-07-01 10:21:17 帮助过:23人阅读
1.打开eclipse→Windows→Preferences→Java→Editor→Content Assist
修改Auto Activation triggers for java的值为:".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW"(惯例""要去掉) 点击apply按钮;
2.继续打开JavaScript→Editor→Content Assist
修改Auto Activation triggers for javaScript的值为:".abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW" 点击apply按钮;
3.继续打开web→html Files→Editor→Content Assist
修改Prompt when these characters are inserted:的值为:"<=.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVW" 点击apply按钮;
【原理:】此修改就是让IDE遇到这样的字符就进行提示搜索,如果觉得提示不够快,可以把"delay"的时间调快点。