You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "homberghp (via GitHub)" <gi...@apache.org> on 2024/12/19 12:32:40 UTC

Re: [I] reformat of record wrongly indents closing brace [netbeans]

homberghp commented on issue #7043:
URL: https://github.com/apache/netbeans/issues/7043#issuecomment-2553707070

   # New findings after adding tests.
   
   I also noted that the formatting of records also drops a space before the closing parenthesis in the record header.
   
   I expected this 
   ```
   record Student( String id,String lastname,String firstname ) implements Serializable {
   } // should stay flush to left margin
   ```
   but got
   
   ```
   record Student( String id,String lastname,String firstname) implements Serializable {
       } // should stay flush to left margin
   ```
   that is, the space after `firstname` is missing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

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