简体   繁体   中英

No Default Proposals in Eclipse Juno

我最近切换到 Eclipse Juno 进行 android 开发。当我按“ctrl+space”查看可用提案时。但它显示“无默认提案”。

I have the same problem; it occurred after I upgraded to Juno.

My fix: - Window->Preferences->Java->Editor->Content Assist->Advanced - explicitly check Java Proposals - Apply

That fixed it for me. (I don't know why Restore Defaults does not set this, seems like it should but it didn't work for me)

Try restoring the Restore Default options in

Windows > Preferences > Java > Editor > Content Assist > Advanced > Restore Default

See image clearly at below.

Eclipse图像

For more, have a look on

  1. Eclipse/Java code completion not working .
  2. Content Assist (Ctrl + Space) Is Not Working – Eclipse

Hope it helps you.!!

Simply do a Project> Clean and then restart Eclipse. I had the same issue

Change workspace and try it now. It works fine for me.

确保你在java透视图中并且你的项目可能被重新调整为Android项目

We can change the settings as per our requirement.

Suppose we want to make as highest priority we need to do changes as shown below.作为最高优先级,我们需要进行如下更改。

Windows > Preferences > Java > Editor > Content Assist > Advanced

Choose java proposal and click on up button在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM