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

   ### Apache NetBeans version
   
   Apache NetBeans 21
   
   ### What happened
   
   The following code snippet will show the incorrect behaviour: after 
reformatting the code the second function will have an extra level of 
indentation.
   
   ### Language / Project Type / NetBeans Component
   
   _No response_
   
   ### How to reproduce
   
   ```
   xyz(/** comment in same line: this will format ok  */ function doClose(){
        this.close();
        },
        /** comment in previous line: this will have an extra indentation  */
        function resetVal(){
                this.close();
        });
   ```
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Mageia 8 (Linux)
   
   ### JDK
   
   javac 11.0.17
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### 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