任何方式在Eclipse中获得类似IntelliJ的自动完成? [英] Any way to get IntelliJ-like autocompletion in Eclipse?

查看:127
本文介绍了任何方式在Eclipse中获得类似IntelliJ的自动完成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




    我在一个项目中遇到了Eclipse,我希望自动完成类似于IntelliJ的自动完成, li>开始输入,Eclipse会自动建议所有的可能性
  • 当下拉列表中选择项目时,您不仅可以使用回车键,还可以接受点,空格键...


解决方案

在Eclipse中有一些类似的东西,当然在Eclipse Helios中。键入时按CTRL + SPACE,或键入变量名称'。'将启动自动完成选项。
另外 here 有人建议改变自动完成延迟设置为0。



BTW您还可以使用空格键接受您的选择。



编辑:
为什么不考虑使用NetBeans,我个人最喜欢的。您可以选择在开始输入任何Java标识符部分时显示自动完成。这样看起来就像你想要的那样。 (在NetBeans 工具 - >选项 - >编辑器 - >代码完成中,在语言框中选择Java,最后检查自动弹出键入任何Java标识符部分)。


I'm stuck with Eclipse in one project and I would like to have autocompletion similar to that of IntelliJ - two major problems are:

  • Start typing and Eclipse would automatically suggest all possibilities
  • When there is item selected in dropdown list you can accept it not only with enter key but with dots, spacebars...

解决方案

There is something like that in Eclipse I think, certainly in the Eclipse Helios. When typing you press CTRL+SPACE, or when you typed variable name '.' will start auto-complete options. Also here someone suggests to change auto complete delay settings to 0.

BTW you can also accept your selection with space bar, for sure.

EDIT: Why not consider using NetBeans, my personal favourite. There you have an option to show auto-completion on start typing any Java Identifier Part. This would then look exactly as you want it. (in NetBeans Tools->Options->Editor->Code Completion, there in Language box select Java and finally check Auto Popup on Typing Any Java Identifier Part).

这篇关于任何方式在Eclipse中获得类似IntelliJ的自动完成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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