Eclipse Luna(R):没有内容帮助Java 8方法引用 [英] Eclipse Luna (R): no content assist for Java 8 method references
问题描述
版本:Luna发行(4.4.0)
构建ID:20140612-0600
I '使用Eclipse Luna for Java(Java EE)的发布版本,似乎没有内容帮助新的Java 8样式的方法引用。在下面的示例中,我在::之后按Ctrl-Space,期望看到类 Match
上可用的方法列表。相反,我只是得到一些通用的模板辅助,即使我循环浏览所有的辅助菜单。正常的内容辅助方法工作正常,只是Java 8方法引用(:) :)不起作用。
这应该是工作吗?如果没有,为什么不呢?按设计?错误?
看起来这可能是Eclipse错误 430656 。
方法参考内容辅助在某些地方工作,但不在调用上下文中。
Eclipse Java EE IDE for Web Developers. Version: Luna Release (4.4.0) Build id: 20140612-0600
I'm using the release version of Eclipse Luna for Java (Java EE), and it seems that there's no content assist for the new Java 8-style method references. In the example below, I hit Ctrl-Space after the '::', expecting to see the list of methods available on the class Match
. Instead I just get some generic template assist, even if I cycle through all the assist menus. Normal content assist on methods work fine, it's just Java 8 method references (::) that don't work.
Is this supposed to work? If not, why not? By design? Bug?
Looks like this might be Eclipse bug 430656.
Method reference content assist does work in some places but not in 'invocation contexts'.
这篇关于Eclipse Luna(R):没有内容帮助Java 8方法引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!