Joke Collection Website - Public benefit messages - eclipse’s automatic prompt function

eclipse’s automatic prompt function

Under normal circumstances, press ALT / to prompt. If you want to press any letter to get a prompt, you can turn on the automatic prompt function of eclipse. The steps to turn on or off the prompt function are as follows:

After opening eclipse, click Window-gt; Perferences-gt; Java -gt; Editor -gt; Content Assist

Find auto-Activation on the right side of the opened page

There are three options below. Find the second "Auto activation triggers for Java:" option, and you will see a "." in the text box after it. This means: only after entering "." will there be code prompts and automatic completion. This is where we want to modify. Replace the "." in the text box with "abcdefghijklmnopqrstuvwxyz.". In this way, when you write Java code in Eclipse, you can press any character in "abcdefghijklmnopqrstuvwxyz." to get a code prompt.