By modifying the perferences of Eclipse, You can greatly reduce the frequency of ALT +/usage.
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. The code prompt is displayed only after "." is entered. This is the place where we want to modify it. By default, only four custom characters can be entered in eclipse.
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" ABCD "and find the string. Modify "ASDF" to "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.", 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 in sequence,
It can be found that it has been more than 4 characters, that is, we enter any letter and "." There will be code prompts.