SkyghiS created NETBEANS-6460:
---------------------------------

             Summary: Invalid indentation on nested lambda
                 Key: NETBEANS-6460
                 URL: https://issues.apache.org/jira/browse/NETBEANS-6460
             Project: NetBeans
          Issue Type: Bug
          Components: editor - Formatting & Indentation
    Affects Versions: 12.6
         Environment: Netbeans 12.6, OpenJDK 11.0.11
            Reporter: SkyghiS


When indenting Java nested lambda, only the first one have correct indentation.

I expect this result :
{code:java}
new ClassA("codeA", a -> a
    .addClassB("b", b -> b
        .addClassC("c", c -> c
            .setValue("v")
        )
    )
);
{code}
 
But got :
{code:java}
new ClassA("codeA", a -> a
    .addClassB("b", b -> b
    .addClassC("c", c -> c
    .setValue("v")
    )
    )
);
{code}
 

I tried multiple formatting options without success.

 

 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to