Code prompt function in eclipse, eclipse code prompt

Source: Internet
Author: User

Code prompt function in eclipse, eclipse code prompt

Eclipse code prompt function, specific configuration


1. Open Eclipse, and then "window" → "Preferences"


2. Select "java", expand, "Editor", and select "Content Assist ".

3. Select "Content Assist" and then see "Auto" under "Auto-Activation" on the right.

Activation triggers for java "option. In fact, it refers to the "." symbol that triggers the code prompt.


4. The "Auto Activation triggers for java" option should be followed by an abc letter after "." To facilitate subsequent search

Modify. Then, "apply" and click "OK ".


5. Then, select "File"> "Export", select "Perferences" in the pop-up window, and click "Next ".


6. Select the export file path and export it to the desktop or other disks. Enter "test" as the file name and click "save ".


7. Find the file "test. epf" you just saved on the desktop, right-click and choose "open with Notepad ".


8. You can see a lot of Eclipse configuration information.


9. Press the "ctrl + F" shortcut key, enter ". abc", and click "find next ".


10. Find the configuration information of ". abc" as follows:


As follows:


11. Change ". abc" to ". abcdefghijklmnopqrstuvwxyz (,". Save and disable "test. epf ".


12. Return to the Eclipse interface, "File"> "Import", select "Perferences" in the pop-up window, and click

"Next": select the modified "test. epf" file, click "open", and click "Finish ". This step and above

The export procedure is similar.


13. Finally, perform Code testing. Create a project and a class. Input

Test.

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.