Opening the Eclipse-> Window-> perferences opens a Perferences settings interface.
The simplest way to modify it is: Windows-->preferences-->java-->editor-->content Asist, in auto activation triggers for There is only one "." In the text box behind Java.
will see only one "." Exist. Says: Only the input "." Then there's the code hint, and here's where we're going to change, but eclipse defaults to only allow 4 custom characters to be entered.
However, we can export the current settings, save it as a file, modify it in the file, and then import the settings so that we can break through eclipse's limitations.
First, put the "." in the picture above. Place a few casual characters, such as "ASDF", and click "OK" at the bottom to save the settings.
Then open Eclipse's File-> Export and expand the general-> in the window Perferences-->export
All then click NEXT. Then click Browse to select any path, save the configuration file, and click Finish.
With Notepad, open the configuration file that you just saved (extended file name: *.EPF), press CTRL +
F ", enter the" ASDF "you just set up and find the string. Change "asdf" to "abcdefghijklmnopqrstuvwxyz.", then save and exit Notepad.
Open Eclipse's File-> Import and expand the general-> in the open window
Perferences, click Next to select the configuration file that you just modified, Finish. Now, open window-> again.
Perferences, and expand the Java-> Editor-> Content in turn
Assist, you'll find that it's over 4 characters, which means we enter any letters and "." will have code hints.
After the modification, the default is that you enter a character 200 milliseconds after the code prompts, if the input is very card, you need to increase the delay; If you think it's too slow, you can change it to a smaller number, but the smaller the number, the higher the system performance requirements, and I set it at 50 milliseconds. Now, is eclipse even more handy?