In eclipse ". "An automatic prompt is displayed, which is used for the automatic prompt of class members. However, sometimes we want it to display an automatic prompt after we enter the first letter of the class, you can save a lot of input time (even if you press Alt +/, a prompt will appear, but you still need to press the button one more time, which is too troublesome ). From WINDOW> preferences> JAVA> editor> content assist> auto-activation ". "add the first subtitle that we need to automatically prompt after the number, such as" ahiz ". Then we return to the eclipse development environment and enter "A". The prompt is displayed. However, we can find that the input box in auto-activation can only contain up to five letters. Maybe eclipse developers worry that too many input will affect performance, however, the performance of the computer is not needed in white, so we need to break this restriction. In fact, the above is a foreshadowing, to create an atmosphere, it seems that we are doing the following things very good, in fact, it is not, everything is very simple. Hey hey :) In ". "Enter a few characters, such as" abij ", and return to the development environment. Choose File> export> General> preferences> to save your preference, for example, C: \. EPF Open a. EPF in any text editor, find the string "abij", find it, and replace it with "abcdefghijklmnopqrstuvwxyz". In short, what do you want !! Go back to eclipse, file-> Import-> General-> preferences-> import the. EPF file. At this time, you will find that you will receive an automatic prompt when entering any subtitles. Great !!! Finally, it is better to change the pop-up time to less than 100 milliseconds for the automatic prompt to be displayed, otherwise you will be finished and the automatic prompt will pop up :), but it also depends on the machine performance. |