Eclipse自动完成不适用于lambda和类型 [英] Eclipse auto complete doesn't work with lambda and types

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

问题描述

我使用Eclipse Oxygen.2版本(4.7.2)

I use Eclipse Oxygen.2 Release (4.7.2)

我尝试了一些lambda表达式并遇到以下问题:

I try some lambda expressions and have the following problem:

我编写没有类型的lambda参数,Eclipse自动完成工作正常:

I write the lambda parameters without types, Eclipse auto complete works fine:

如果我用类型编写lambda参数,则不会自动完成:

If I write lambda parameters with types, no auto complete:

但我可以我自己写这个并且一切正常:

But I can write this on my own and all works fine:

这是Eclipse中的一个错误?有人可以解释这种行为吗?

Is this a bug in Eclipse? Can someone explain this behavior?

推荐答案

是的,这是Eclipse的一个已知错误,尚未修复: Eclipse bug 460921

Yes, this is a known bug of Eclipse, which has not yet been fixed: Eclipse bug 460921.

Eclipse是开源的,欢迎修复此bug的贡献。

Eclipse is open source and contributions to fix this bug are welcome.

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

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