Android Code Auto Prompt function

Source: Internet
Author: User

The Eclipse for Android implementation code automatically prompts the smart prompt feature, introduced in the Eclipse for Android editor to implement the two main files Java and XML code automatic prompt function, to resolve the eclipse code hints invalid, eclipse cannot automatically mention There are no code hints for the eclipse. Eclipse XML Auto hint, Eclipse Java Auto prompt, Eclipse Auto prompt, Eclipse smart tip, Eclipse code hint feature, Eclipse setup code hint, eclipse code auto-prompt Fun ction, eclipse Android code hints.

Eclipse for Android Setup code hints feature

1. Set the code hint function of Java file

Open Eclipse Select Window > Preferences > Java > Editor-content Assist > Auto activation triggers for Java , the default is a point in the Settings box,

Now change it to:

. ABCDEFGHIJKLMNOPQRSTUVWXYZ (,

2. Set the code hint function of XML file

Open Eclipse Select Window > Preferences > Xml > Editor > Content Assist > Auto activation > Prompt whe n These characters is inserted , the default in the Settings box is <=:,

Now change it to:

<=:.abcdefghijklmnopqrstuvwxyz (,

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.