MyEclipse 10 autocomplete not working

 ̄綄美尐妖づ 提交于 2020-02-21 12:56:10

问题


I have recently got MyEclipse 10 in work and the autocomplete feature has stopped working and I have no idea why.

Now the weird thing is, it works fine for the JSP project. In my work we have a online GUI which is created using JSP and runs on the TomCat server. But in any other project, the auto completions don't work. Not a single command will bring up the auto completion. If I try for example System. and try hitting control space, it says no completions for available. Has anyone had this problem before? And if how how on earth do I fix it, makes it rather difficult to program :P

Thanks in advance for any help


回答1:


Turn on Autocompletion by going to Java->Editor->Content Assist->Advanced. Ensure that Java Proposals is selected.




回答2:


Java auto-complete in MyEclipse and Eclipse will sometimes take too long to show proposals; this could be caused by a variety of reasons ranging from a system under severe load at the point at which the auto-complete was invoked to a glitch or an unusually large classpath.

Since a delay here locks your UI, Eclipse will detect this, break the auto-complete request and inform you that it took too long to complete via a dialog. It also gives you the option to turn off the auto-complete processor which took too long; if you weren't paying attention, you may have turned it off through this dialog (this happened to me a few times in my early Eclispe days).

This simply explains why it may have suddenly turned off, you would need to turn it back on using Hippo's suggestion above.



来源:https://stackoverflow.com/questions/8729796/myeclipse-10-autocomplete-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!