If you use the default smart prompt when using eclipse, it will be depressing (only input. and jumps out in 0.2 seconds. If you have used vs, you will surely feel that the development efficiency of eclipse is too low. This is not the case. Eclipse is actually very powerful, the key is whether you will set it. 1: Open eclipse, window-> preferences-> JAVA-> Editor-> content assist 2: Modify auto-activation on the right. I. Auto activation delay is a smart prompt response time (MS) Ii. Auto activation triggers for Java: What triggers Java smart prompts (default .)--If you want to enter a-Z and so on, you only need to modify it here, but some eclipse can only enter 4 characters, so it is relatively difficult to set it. Iii. Auto activation triggers for javadoc what triggers the javadoc smart prompt (not used) If auto activation triggers for Java can only contain 4 characters, perform the following operations. 1: Open eclipse, window-> preferences-> JAVA-> Editor-> content assist 2. Select Content assist 3. Add the ABC letter (Facilitate subsequent search and modification). Then, "Apply" and click "OK ". 4. Then, select "file"> "Export", select "perferences" in the pop-up window, and click "Next ". 5. Select the export file path, enter "test" as the file name, and click "save ". 6. Find the file "test. EPF" and open and edit it in notepad. 7. You can see a lot of eclipse configuration information. 8. search for the. ABC string. 9. Change. ABC to. _ abcdefghijklmnopqrstuvwxyz. Save and disable "test. EPF ". 10. return to the eclipse interface, file-> Import, select perferences in the pop-up window, click "Next", and select the modified "test. EPF file, click open, and click Finish" The operation is complete.Corresponding character(Of course, other files such as JS and HTML (JSP) can be configured in this way to implement smart prompts. The operations are as follows: JS: Javascript → editor → content Assis.HTML (JSP): Web → HTML files → editor → content assist) |