Eclipse Android Xml Content Assist Not Working
Solution 1:
Right click on xml file and select openwith option and you can find Android Layout Editor.
Solution 2:
If your content assist is working for java but not for xml, go to window-> preferences->xml->content assist
and:
- set the delay to 20 ms instaed of 500
- set the suggestion strategy to LAX
- add the entire alphabet to
prompt when these characters are inserted: <=:azertyuiopqsdfghjklmwxcvbn
These are the things that worked for me, and programming with content assist is so much easier ;)
Solution 3:
Update to ADT 16 which came out yesterday; the bug should be fixed there. ("The bug" being the bug that in ADT 14 and ADT 15, many newly added XML files would end up being assigned to the default XML editor instead of the customized Android XML editors.)
Solution 4:
Re-install the SDK android-platform that you are working with. The resource files may be corrupted [e.g. android-sdk-windows\platforms\android-10\data\res\values\attrs.xml].
Solution 5:
Or you can set the default editor in Eclipse Preferences, used Android Common XML Editor. You find it in Eclipse Preferences, General, Editors, File Associations. Click on .xml, choose "Add" "Android Common XML Editor". Select it and press the Default button.
Post a Comment for "Eclipse Android Xml Content Assist Not Working"