You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Akhilesh Singh (Jira)" <ji...@apache.org> on 2019/12/23 06:16:00 UTC

[jira] [Created] (NETBEANS-3624) Formatting issue in 'records' (JDK-14)

Akhilesh Singh created NETBEANS-3624:
----------------------------------------

             Summary: Formatting issue in 'records' (JDK-14)
                 Key: NETBEANS-3624
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3624
             Project: NetBeans
          Issue Type: Bug
          Components: java - Editor
         Environment: OpenJDK Runtime Environment 14-ea+27-1339
            Reporter: Akhilesh Singh


Incorrect formatting for the new feature 'record' on pressing ALT-SHIFT-F

Steps :

Type the below code on editor & Press ALT-SHIFT-F :


 record Test2(long i, int j) {
public void m(){
System.out.println();
} 
}
  

Actual Result :

record

Test2(long i
 , int j

) {
public void m() {
 System.out.println();
 }
}

 

Expected Result :

record Test2(long i, int j) {
     public void m(){
     System.out.println();
     } 
}



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

---------------------------------------------------------------------
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