开发者

autocomplete has stopped working with android sdk

For some reason auto complete no longer works. for example when writing code using the andr开发者_如何学运维oid 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.


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.


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.

    autocomplete has stopped working with android sdk

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


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


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.


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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜