I have installed Eclipse Indigo and the auto-complete feature is working normally in the Java editor.. the problem is in the XML editor, when I press CTRL+Space, nothing of the suggestions comes out.
Why is this?
I had faced the same problem. I was trying to solve using
sample.xml layout file -> Right click on it -> Open With -> Android Layout Editor
But no luck. Then I was trying another way
Select Project (say Myproject) from Package Explorer
Right click on the Myproject
Select Properties from popup
Select Java Build Path from left panel
Select Source from right tab
Select Myproject/gen
Click on Remove button
Repeat step 6 and 7 for Myproject/src
Press on OK button
Click on Add Folder..
Add the Myproject/gen and Myproject/src
OK again OK
It solved the problem.
Find your XML file in Package Explorer and right click on it. Select Open With -> Android Layout Editor
(or select appropriate option from other options available in sub menu). Bingo! Auto-complete/content assist should start working.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With