Eclipse 自动完成功能不起作用 [英] Eclipse autocomplete not working
问题描述
eclipse 的自动完成功能现在不起作用,我搜索了几个小时,但找不到解决它的答案.我已经很久没有使用它了,打开它后的第一件事就是安装 SWT 和 windows builder,即使我已经安装了 Swing.我的意思是,这可能是由于 swt 和 Swing 引起的一些冲突(我读过一些关于冲突的内容,但如果可能的话,我没有读过).
The autocomplete of eclipse is not working now and I searched for hours but I couldn't find an answer to solve it. I haven't used it for long time then the first thing after opening it was to install SWT and windows builder even though I had swing installed. What I mean is, it is may possibly be because of some conflict caused by swt and swing(I read something about a conflict but I don't if this is possible).
奇怪的是,当我按 ctrl+space 时它没有显示任何内容,但是当我转到 Edit-> Content Assist -> Default(它在它附近说 Ctrl+Space)时,它显示了需要显示/工作的内容想要的.
Strange thing is it doesn't show anything when I press ctrl+space but when I go Edit-> Content Assist -> Default(it says Ctrl+Space nearby it), it shows things needed to be shown/works as desired.
public class Dsada {
String sssss;
public Dsada(){
sss //pressing ctrl+space is not working,Edit->ContentAssist->Default works fine
}
}
解决方案不是在 Windows->Preferences->...->Content Assist->Advanced 下勾选/取消勾选某些内容.我检查了ctrl+space"是否被其他一些不是的东西劫持,并检查了英语的键盘语言(那些在 mkyong).
The solution is not to tick/untick some stuff under Windows->Preferences->...->Content Assist-> Advanced. I checked if "ctrl+space" is hijacked by some other thing which is not and checked keyboard language which is English(Those are suggested in mkyong).
我读到了一些关于错误 但我无法理解.我试图删除 eclipse 并重新安装,但我猜有些设置只是留在机器中,所以它不起作用.
I read something about a bug but I couldn't understand. I tried to delete eclipse and re-install again but I guess some settings just stayed in the machine so that it didn't work.
提前致谢,
推荐答案
如果你使用windows,热键组合ctrl+space
可能与系统中的其他设置冲突.
The hot key combination ctrl+space
might be conflict with other settings in system if you are using windows.
尝试像alt+/
那样修改这个组合,从我第一次知道eclipse开始我就一直使用这个组合.效果很好.
Try modify this combination like alt+/
, i always use this one since the first time i knew eclipse. It works well.
希望它对你有用.
这篇关于Eclipse 自动完成功能不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!