Content Assist not working inside Lambda Expressions [closed]
Asked Answered
P

0

8

I'm running Mars 4.5.1. Content Assist isn't working at all inside the code blocks of lamba expressions.

obj.doSomething(param1 -> {
    // Content Assist doesn't work here
}

Anything outside of the code block auto completes fine. Ex: param1 would correctly display content assist.

It was supposedly fixed in 4.5.0, but that doesn't seem to be the case for me.

When I try to manually set 1.8 compatibility by unchecking "Use default compliance settings", the box gets re-enabled every time I exit preferences. Compiler compliance level is set at 1.8 to no avail.

Perpetuate answered 8/10, 2015 at 1:12 Comment(4)
Generally, content assist in lambda body does work in Mars. If it doesn't for you then we probably need more context. If you have a reproducing example please consider filing a bug at bugs.eclipse.org/bugs/…Chasitychasm
Your problem regarding 1.8 compatibility I don't understand. What compliance do you get with / without "Use default compliance settings"?Chasitychasm
I'm voting to close this question as off-topic because this problem was known bug that was fixed a long time ago, and the (now ancient) version of Eclipse it occurred in has long since been made obsolete.Vase
Really? So for those of us who are stuck using the "ancient" version due to compatibility, we just have to deal with it? No patch, no update. FlehDelict

© 2022 - 2024 — McMap. All rights reserved.