In the past, we often entered "." And then Alt +/for smart prompts. The following method can help you greatly improve your intelligence ~ Open eclipse-> window-> perferences. The setting page of perferences is displayed. Find the content assist under the editor in Java. In the option displayed on the right, there is an auto activation triggers for Java: Only one "." exists. Indicates that only "." Is input.CodeNote: here we want to modify it. By default, Eclipse only allows the input of four custom characters. However, you can export the current settings, save them as a file, modify the settings in the file, and then import the settings to break through the eclipse restrictions. Enter a few casual characters in ".", such as "ASDF" and click "OK" at the bottom to save the settings. Then open the file-> export of eclipse, and expand general-> perferences --> export in the window. All and then click Next. Click "Browse" to select any path, save the configuration file, and click "finish ". Use NotePad to open the saved configuration file (extension file name: *. EPF), and press "Ctrl + F ", enter the set" ASDF "and find the string. Modify "ASDF" to "abcdefghijklmnopqrstuvwxyz.", save it, and exit notepad. Open File-> Import of eclipse and expand general-> In the window that opens. Perferences, click Next, select the modified configuration file, and finish. Now open window-> Perferences, and expand Java-> Editor-> content Assist, you will find that it has been more than 4 characters, that is, we enter any letter and "." will have a code prompt. After the modification, the code prompt is displayed after you enter a character 200 milliseconds by default. If the input is too slow, you need to increase the prompt delay. If you think it is too slow, it can be changed to a smaller number, but the smaller the number, the higher the requirement for system performance. I set it to 50 milliseconds. Now, is eclipse more convenient to use? |