How to automatically complete the word in eclipse (_)

Source: Internet
Author: User

In eclipse, how does one implement automatic word completion without pressing the shortcut key?

Open eclipse-> window-> perferences-> JAVA-> Editor-> content, and the bottom column is auto-activation.
Only one "." exists. Indicates that only "." Is input. Code Note: This is the place where we want to modify it. However, by default, Eclipse only allows the input of four

Define characters. Enter a few casual characters in ".", such as "aaaa" and click "OK" at the bottom to save the settings. Then open the file in eclipse->

Export, expand general-> perferences --> export all in the window, and then click Next. Click "Browse" and select any path to save the configuration file.

And then click "finish ". Use NotePad to open the saved configuration file (extension file name: *. EPF), press "Ctrl + F", and enter "aaaa ",

Find the string. Change "aaaa" to "abcdefghijklmnopqrstuvwx"YZ. ", save it, and exit notepad.
Open File-> Import of Eclipse, expand general-> perferences in the window that opens, click Next, and select the modified configuration file,

Finish. Now, open window-> perferences, expand Java-> Editor-> content assist in sequence, and you will find that there are more than 4 characters

It means that the Code prompts will be displayed when we enter any letter or.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.