Solve the problem of automatic prompting of XML files in Android project

Source: Internet
Author: User

Last night watching a training agency for Android video tutorial, see him in the writing layout of the XML file, there is a very convenient automatic prompt function. I tried it in my eclipse, but I didn't realize it. On the Internet to check, a lot of said: in Window->preferences->xml->xml files->editor->content Assist to the right of prompt when these Characters is inserted: Change the default "<=:" To

"<=:.abcdefghijklmnopqrstuvwxyzabcdefghigklmnopqrstuvwxyz (,".) But to change the role here is just what you input when prompted, my situation is the function of the hint came out, but the content of the hint does not come out.

Online looking for a long time or no solution, so I sent a post in csdn.

Today, I went out for a bit, come back at night, open Eclipse and try again, found that, I do not know what the reason. On the csdn to see my post there is no one reply, sure enough, there are two people reply, one of them said with open way about, and then I looked at a bit is really this, only with "Android Layout Editor" open only line. The above narrative may be a little unclear, as illustrated in the figure below.

I want the situation:

What happened to me last night:

The information on the internet says the changes are in place:

Change the default above to the following:

After the change is still useless, the key is to open the way:

After this, I found that the original Java source code files only when we encounter the small window of the available tips, if you want me to enter a letter every time the available hints, as long as the default setting of the "." Change to ". ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIGKLMNOPQRSTUVWXYZ (," on it.)

--------------------------------------------------------------------------------------------------------------- -------------------
Individual learning summary, may be very basic, just hope that beginners like me, to the online search for information can find more effective methods, can save everyone valuable time. If there is an incorrect place, please enlighten me. If it helps you, it's my pleasure!

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: 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.