In general, press alt+/to prompt, if you want to be prompted by any letter, you can turn on the automatic prompt for eclipse, turn on or off the prompt function as follows:
When you open eclipse, click Window->perferences->java, Editor, Content Assist
Locate auto-activation on the right side of the open page
-
Here are three options to find the second "Auto activation triggers for Java:" option, and you'll see a "." In the text box that follows. Exist. This means: only enter "." Then there will be code hints and auto-completion, and the place we want to modify is here. Put the "." In the text box Replace it with "abcdefghijklmnopqrstuvwxyz." So you can write Java code in Eclipse and press "ABCDEFGHIJKLMNOPQRSTUVWXYZ." Any one of the characters in the box will have code hints.
Eclipse is a lot of Java developers basically use the tool, it can be very convenient to develop Java code, when writing Java code, most people are pressing the key combination "alt+/" to get code hints, in fact, can be set as long as the input code will automatically prompt, here to teach you how to do
Method/Step
First open the Eclipse development software, then in the toolbar "window", click to find the pop-up list of "Preferences" option, and then click this option
The window that pops up now is a common Setup window for Java developers, and we click on "java" >>> "editor" >>> "Content Assist", and the mouse is clicked on "Content Assist".
Now, we focus on the right side of the panel, there is an "auto activation triggers for JAVA", this configuration means that, under what circumstances will trigger the automatic prompt, the default inside should be only a "." Symbol, which is why we write code when the input "." When the reason for the automatic prompt will appear, now, what we need to do is to put Qwertyu ... All the characters on the keyboard that you want to trigger the automatic prompt are entered in the back box.
Here you are already set up, and then click "Apply" and "OK" two swords, now casually find a Java class test, see if it is OK
If you have any questions please feel free to leave a comment below and I will patiently answer
Automatic hint feature for Eclipse