Java and XML code prompt settings in eclipse

Source: Internet
Author: User

How can I set the code prompt function of eclipse to be the same as the code prompt function of Microsoft Visual Studio? By default, Eclipse, the code prompt function of eclipse is much worse than that of Microsoft Visual Studio, mainly in eclipse. Many options of myeclipse are disabled by default, and developers must manually configure them. If you are not clear about eclipse, the code prompt function of myeclipse is as powerful as that of Microsoft Visual Studio.

Settings:

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

2. Select "Java", expand, "Editor", and select "content assist"

3. Select "content assist" and then see the "auto activation triggers for Java" option under "auto-activation" on the right. In fact, it refers to the "." symbol that triggers the code prompt.

4. The "Auto activation triggers for Java" option adds the abcdefghijklmnopqrstuvwxyz letter after ".", which means that the code prompt function is triggered when 26 letters and symbols are encountered.

5. modify. Then, "Apply" and click "OK ".

Set the code prompt function for the XML file: Open eclipse and choose Window> preferences>XML
> Editor>
Content assist> auto Activation>Prompt
When these characters are inserted, The default value is
<=:, Change it to: <=:. abcdefghijklmnopqrstuvwxyz (,

PS: However, the code prompt function will become lazy!


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.