Java Eclipse Auto-Complete settings

Source: Internet
Author: User

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:

Select the Preferences item under the Windows menu in the Eclipse menu bar. On the left, find "Java" = "Editor" = "Content Assist" (mouse click this item). 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)


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.", When you write the code, enter any uppercase and lowercase letters to trigger the auto-fill window pop-up, and OK when you are finished typing.


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 does not have this problem, the direct settings can be implemented.

Java Eclipse Auto-Complete settings

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.