You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pecheux (Jira)" <ji...@apache.org> on 2022/10/19 09:31:00 UTC

[jira] [Commented] (NETBEANS-3579) Code completion not working inside block lambdas

    [ https://issues.apache.org/jira/browse/NETBEANS-3579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17620142#comment-17620142 ] 

Pecheux commented on NETBEANS-3579:
-----------------------------------

Hello, 

Still facing this issue on Netbeans 12.4, even when casting : 

!image-2022-10-19-11-29-36-447.png!

 

> 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: 12.0, 11.2
>            Reporter: Jan Lahoda
>            Assignee: Akhilesh Singh
>            Priority: Critical
>             Fix For: 12.3
>
>         Attachments: 3579.png, RE Defect #3579 Status  Findings.msg, RE Defect #3579 Status  Findings.msg, Screenshot (346).png
>
>
> 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.20.10#820010)

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

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