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