Eclipse auto complete doesn't work with lambda

2019-02-17 00:39发布

问题:

I use Eclipse Oxygen.2 Release (4.7.2)

I try some lambda expressions and have the following problem:

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

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

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

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

回答1:

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

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