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

   ### Apache NetBeans version
   
   Apache NetBeans 15 release candidate
   
   ### What happened
   
   The auto-indent feature of NetBeans operates incorrectly for Groovy source 
files.
   
   ### How to reproduce
   
   This is a Groovy file.  In both examples below, when your cursor is at 
position "E" and you hit the return key, the cursor should be moved to the 
position marked as "C".  NetBeans puts the cursor in position "I" instead.  
This formatting bug does not exist in Java.
       
   ```
       static void meth() {
           if (cond)E
           I   C
       }
       
       static void meth2() {
           if (cond)
               abcdE
           C   I
       }
       
   ```
   
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Fedora Linux
   
   ### JDK
   
   8
   
   ### Apache NetBeans packaging
   
   Apache NetBeans provided installer
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


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