After setting up the Eclipse Auto prompt, a A-Z will show the prompt, but we need to type enter before entering, and all of the defaults are typed, very mentally retarded, and can be set in the following way.
1. Find the relevant plugin first: Window---show view--plug-ins
Find the plugin org.eclipse.jface.text, right click, select Import as Source project, after the import is complete, you can see this project in your workspace
2. Modify the Code
In the Src/org/eclipse/jface/text/contentassist/completionproposalpopup.java file, find such a line of code
Char[] triggers = T.gettriggercharacter ();
If (contains (Triggers,key))
In that line if judgment, eclipse will determine if key (the key you pressed) is in triggers, and if so, trigger the code on the first line below. So what we're going to do is to exclude the space and the = number:
if (key! = ' = ' && key! = 0x20 &&contains (triggers,key)) {
.........
}
Code changes to this, when prompted to press the space or equal sign, the hint will not fall, will not automatically fill up!!!
3. Export the modified Org.eclipse.jface.text
Right-click on the Org.eclipse.jface.text in your workspace, select Export-->deployable plugins and
Fragments, Next,destination Select
Archive file, and then finish. You can see the generated jar in the zip file and replace it with the same name jar package in the eclipse/plugins.
Note: MyEclipse cannot import the plug-in source project, can download the corresponding version of Eclipse, recompile the plug-in and then overwrite the MyEclipse plug-in can be.
I have a MyEclipse10 modified jar package here. If your version is the same as me, just copy the jar to plugins. After downloading the decompression, there is a modified jar, one is not modified jar, if you want to change the day, the unmodified jar copy back to the line.
Eclipse cancels auto-input prompt