Eclipse/myeclipse Code hints/Auto Prompt/Auto-complete settings (GO)

Source: Internet
Author: User

First, set the Super automatic prompt

Set Eclipse/myeclipse code hints can be convenient for developers, do not remember the rambling words, only with the first letter, the prompt menu will appear. As easy as Dreamweaver.

1. Menu Window->preferences->java->editor->content assist-right-auto-activaction column-enable auto activation Option to tick

2.Auto Activation triggers for Java Direct write (new eclipse can write long characters directly) ". ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ, ([{"

3. Set the reflection time, Auto activation delay default is 200, generally set to 20~50 4.* at this time has not reached the super prompt, the software on the class and interface is also a good hint.

4. Continue setting window->preferences->java->editor->content Assist expand->advanced above tab select the proposal kinds Contained in the ' Default ' content Assist list: Check all 7 options! At this point, the settings end, whether it is a statement, class, interface, keyword, or method, can automatically prompt.

 Two. The ability to automatically complete the first hint word by a space or "=" When you cancel the MYECLIPSE code hint

The problem follows the setup as above: For example, I want to enter Conn press the space after the first connection prompt. The action " SPACEBAR" and the " equals key" will default to the first item of the prompt.

Each time you do not want to fill the prompt, you can press ESC, that is, you can cancel the prompt word, then press the space or "=" will not be automatically complete.

Eclipse/myeclipse Code hints/Auto Prompt/Auto-complete settings (GO)

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.