Eclipse的自动完成问题 [英] Eclipse autocompletion problem

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

问题描述

刚安装了Eclipse赫利俄斯(Win7的64)和我有一个奇怪的问题。 I型syso的Ctrl空间,预计完成为System.out.println(),但它不工作!我在网上搜索了大约一个小时,现在,我设置preferences>的Java>编辑>内容辅助默认值,什么都没有。一切似乎工作。想法?
结果
需要明确的是:该快捷方式的作品,为迄今所看到的,在syso它完成一切,除了syso(也试过SYSOUT)它说:没有默认的建议。我找不到这样的内容辅助快捷键,不过我现在反正他们为默认值。

Just installed Eclipse Helios (Win7 64) and I'm having a strange problem. I type syso-Ctrl-Space which is expected to complete to System.out.println("") but it doesn't work! I searched the web for about an hour now, I set Preferences > Java > Editor > Content Assist to defaults, nothing. Everything else seems to work. Ideas?
To be clear: the shortcut works, it completes everything except "syso" as seen so far, on syso (also tried sysout) it says "No Default Proposals". I couldn't find this kind of shortcuts in the Content Assist, but I set them to default anyway.

推荐答案

如果您仍然无法得到自动完成的工作,请尝试启用的模板建议下的内容辅助菜单。这是确切的位置,

If you still cant get auto-completion working,try enabling the Template proposals under Content assist menu.This is the exact location,

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

和确保您有只有一个条目的 syso (在模板菜单)。

And make sure you have only one entry for syso(Under Templates menu).

这篇关于Eclipse的自动完成问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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