Smart alert settings in Eclipse in Android development

Source: Internet
Author: User

Start today to learn Android development, directly in the Android developers download a development kit, and then a JDK, configure the environment variables, such as a series of work environment is set up, after the new first Android project, alas? No smart tips for writing code? For a. NET developer accustomed to VS, it is simply unacceptable, and certainly where there is a setting right!

Baidu, set the following:
1.java files in the Smart tips
Open Eclipse select Window > Preferences > Java > Editor-content Assist > Auto activation triggers for Java, the default is one in the Settings box., now change it to <=:.ABCDEFGHIJKLMNOPQRSTUVWXYZ (,

2. Smart Tip
Open Eclipse in Android layout Xml file Select Window > Preferences > Xml > Editor > Content Assist > Auto activatio n > Prompt When these characters is inserted, the default in the Settings box is <=:, now change it to <=:.ABCDEFGHIJKLMNOPQRSTUVWXYZ (,
but note that To make the XML file smart hints, you also have to choose the Open with option to open with the Android Layout editor (Android edit editor).

3. Set shortcut keys for smart hints
Window >preferences >general >keys, find content Assist and then the following two values: Binding: Your custom shortcut (default is alt+/, but for use vs I still choose ctrl+k+d), when: Select Editing in structured Text Editors

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.