autocomplete has stopped working with android sdk

AndroidEclipse

Android Problem Overview


For some reason auto complete no longer works. for example when writing code using the android bitmap class, when i use the dot operator eclipse would suggest methods for that object instance. how do you turn this feature back on?

thanks mat.

Android Solutions


Solution 1 - Android

I had this same problem. Here is how I solved it.

In Eclipse go to

Window -> Preferences -> Java -> Editor -> Content Assist -> Advanced

And check the boxes labeled "Java Proposals" and hit Apply.

This solved my problem. Hope it helps.

Solution 2 - Android

Im my case was API tools proposals the option that cause my autocomplete doesn´t work, here are the 4 default options that must be checked...

  • API Tools Proposals.

  • Java Proposals.

  • SWT Template Proposals.

  • Template Proposals.

    default configuration

the next time i must be careful when click Ctrl+Space =D

Solution 3 - Android

Go to Preferences > Java > Editor > Content Assist and paste "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz." (note the dot after z) into the "Auto activation triggers for Java:" field. This worked for me ! Now as i type I get autocomplete options

Solution 4 - Android

Here's another solution I dicovered:

I would check the other solutions listed here first and if all else fails shut down eclipse then delete the file 'org.eclipse.jdt.ui.prefs' found in the workspace directory (Workspace\.metadata\.plugins\org.eclipse.core.runtime\.settings).

Seems in my case the workspace became corrupted somehow and this fixed it. Haven't yet noticed any adverse effects by doing this.

Solution 5 - Android

eclipse use "ctrl+[space]" to show the "css/html/java proposal"

Solution 6 - Android

I had the same problem and none of the solutions here worked. For some reason, my Scheme had changed from "default" to "Emacs". So to fix it, I had to go:

Preferences> General> Keys and change the scheme back to default.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionturtleboyView Question on Stackoverflow
Solution 1 - AndroiddChimentoView Answer on Stackoverflow
Solution 2 - AndroidJorgesysView Answer on Stackoverflow
Solution 3 - Androiduser1909533View Answer on Stackoverflow
Solution 4 - AndroidRooster242View Answer on Stackoverflow
Solution 5 - AndroidAzelMalaysiaView Answer on Stackoverflow
Solution 6 - AndroidRosaView Answer on Stackoverflow