Eclipse / Java代码完成无效 [英] Eclipse/Java code completion not working

查看:164
本文介绍了Eclipse / Java代码完成无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载,解压缩并使用一些插件(便携式,EPIC,Clearcase,QuantumDB,MisterQ)设置Eclipse 3.4.2。

I've downloaded, unzipped and setup Eclipse 3.4.2 with some plugins (noteable, EPIC, Clearcase, QuantumDB, MisterQ).

现在我发现当我编辑Java项目时,代码完成不起作用。如果我键入 String。,然后按 ctrl + 空格,弹出的显示No Default Proposals,状态栏底部显示无完成。

Now I find when I'm editing Java projects the code completion is not working. If I type String. and press ctrl+space a popup shows "No Default Proposals" and the status bar at the bottom shows "No completions available".

任何想法?

推荐答案

p>尝试恢复' Windows>中的默认选项首选项> Java>编辑>内容辅助>高级'

Try restoring the default options in 'Windows > Preferences > Java > Editor > Content Assist > Advanced'

您在此首选项屏幕中看到的数据类型的一个示例,但不一定是您当前拥有的。

An example of the kind of data you see in this preference screen, however not necessarily what you currently have.

(从 Vadim 在这个 blog postContent Assist Duplicates in Eclipse(Mylyn)

如果有重复的Mylyn条目,请取消选中不包含(Mylyn)的重复条目)

(From Vadim in this blog post " Content Assist Duplicates in Eclipse (Mylyn)":
if have duplicate Mylyn entries, uncheck the duplicate entries that do not contain "(Mylyn)" in their name)

Eclipse帮助页面定义要还原的默认列表:

The Eclipse help page defines the default list to restore:


选择提案种类包含在'默认'内容辅助列表中:


  • 其他Java提案

  • SWT模板提案

  • 模板提案

  • 类型提案

  • Other Java Proposals,
  • SWT Template Proposals,
  • Template Proposals,
  • Type Proposals

这篇关于Eclipse / Java代码完成无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆