Jan Lahoda created NETBEANS-3579:
------------------------------------

             Summary: Code completion not working inside block lambdas
                 Key: NETBEANS-3579
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3579
             Project: NetBeans
          Issue Type: Bug
    Affects Versions: 11.2
            Reporter: Jan Lahoda


Consider the following code ('|' should not be part of the code, and represents 
where the caret should be placed):

{{package org.netbeans.modules.learning.lambda.code.completion;}}

{{import java.util.Collection;}}

{{public class NewClass {}}

{{    public int compute(Collection<String> c) {}}
{{        return c.stream().map(s -> {s.|)}}
{{    }}}
{{}}}

Invoking the code completion at the marked place ('|') yields not results 
whatsoever for me. That is apparently wrong - there should be results for a 
variable of type String.

 

The IDE is a fully updated Apache NetBeans 11.2, with nb-javac installed 
running on JDK 13:
Product Version: Apache NetBeans IDE 11.2
Java: 13.0.1; OpenJDK 64-Bit Server VM 13.0.1+9
Runtime: OpenJDK Runtime Environment 13.0.1+9
System: Linux version 4.15.0-72-generic running on amd64; UTF-8; en_US (nb)
User directory: /tmp/nbuser.lambda.test
Cache directory: /tmp/nbuser.lambda.test/var/cache



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to