Eclipse Auto-Complete features Easy Setup | | No modification to edit any file

Source: Internet
Author: User

This article describes how to set up the Eclipse Code auto-complete feature. Easily implement any letter you can enter the code completion prompt box.  

The Eclipse Code AutoComplete feature defaults to only the point ".", that is, only the input "." The auto-complete prompt box appears. It is also troublesome to always press "ALT +/" To complete the auto-completion.

in fact, simply setting it in Eclipse allows you to enter any and all auto-completion prompt boxes.  The setup steps are as follows:
    1. Select the Preferences item under the Windows menu in the Eclipse menu bar
    2. On the left, find "Java" = "Editor" = "Content Assist" (mouse click this)
    3. Find "Auto Activation triggers for Java" under the "Auto Activation" item on the right (you can see that the default in the Settings box is only ".", which is why the default is only "." To trigger an auto-complete window)
    4. At the midpoint of the box. Then enter the letter you want to trigger the auto-completion (the middle does not need to be separated, you can type it next to each other), such as: "Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.", Typing any uppercase and lowercase letters when you write the code will trigger an auto-fill window Popup
    5. OK when you are finished typing.
 To set the diagram:(1) (2) 
PS: Most of the articles on the internet search are: Eclipse only supports 4-character code completion, to enter more characters need to be edited by a series of actions to achieve. This should be a feature of the previous version of Eclipse. The current new version no longer has this problem, directly set up can be implemented (above).

Eclipse Auto-Complete features Easy Setup | | No modification to edit any file

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.