How can I set the code prompt function of eclipse to be the same as the code prompt function of Microsoft Visual Studio? By default, Eclipse, the code prompt function of eclipse is much worse than that of Microsoft Visual Studio, mainly in eclipse. Many options of myeclipse are disabled by default, and developers must manually configure them. If you are not clear about eclipse, the code prompt function of myeclipse is as powerful as that of Microsoft Visual Studio.
Settings:
1. Open eclipse, and then "window" → "Preferences"
2. Select "Java", expand, "Editor", and select "content assist"
3. Select "content assist" and then see the "auto activation triggers for Java" option under "auto-activation" on the right. In fact, it refers to the "." symbol that triggers the code prompt.
4. The "Auto activation triggers for Java" option adds the abcdefghijklmnopqrstuvwxyz letter after ".", which means that the code prompt function is triggered when 26 letters and symbols are encountered.
5. modify. Then, "Apply" and click "OK ".
Set the code prompt function for the XML file: Open eclipse and choose Window> preferences>XML
> Editor>
Content assist> auto Activation>Prompt
When these characters are inserted, The default value is
<=:, Change it to: <=:. abcdefghijklmnopqrstuvwxyz (,
PS: However, the code prompt function will become lazy!