autocomplete has stopped working with android sdk
AndroidEclipseAndroid 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.
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.