ebarboni opened a new issue, #9255:
URL: https://github.com/apache/netbeans/issues/9255

   ### Apache NetBeans version
   
   Apache NetBeans 29
   
   ### What happened
   
   I tried to reformat the following code (ALT SHIFT F) 
   and the space between `var `and `_ `grow every time you reformat. (changing 
var by int)
   
   ```
      public static void main(String[] args) {
           int[] orderIDs = {34, 45, 23, 27, 15};
           int total = 0;
           for (var   _ : orderIDs) {
               total++;
           }
       }
   ```
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   create maven project alter main with the one above
   press alt-shift-f several time or rightclick code and format
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   linux/windows
   
   ### JDK
   
   jdk 21 temurin
   
   ### Apache NetBeans packaging
   
   Apache NetBeans Snap Package
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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