Android Development--solve the problem that Androidadt development tools can't code hints

Source: Internet
Author: User

Google Android's new development tool, opened later without code auto-prompt functionality, below some configuration of the ADT tool:

1. Set the font for the code

set the font for Java file code: I set the 14 general here .

2. set the font for the code in the XML file:

3. Set the background color of the Code Editor

Hue , saturation, brightness 205

rgb:199, 237, 204

Custom:

4. Set the code hint function:

Shortcut: Alt +/can appear code hint.

The default is only the input "." After the code completion prompt, can be set as follows:

Java->content assist-> Find "Auto activation triggers for Java"

: That column is modified to ". _abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz"

Indicates that any character, such as input. _ABC, will have code completion hints.

The following settings are also used in XML:

Plus "<=:_abcdefghijklmnopqrstuvwxyz."

After you set these up, you also set a critical step to prompt:

Open: Eclipse->window->preferences->java->editor->content assist->advanced-> Top Tab select the Proposal kinds contained in the ' Default ' content Assist list: Check the "Java proposals" option.

When the setup is complete, enter the Code editing window to prompt:

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.