You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/08/27 23:49:20 UTC

[GitHub] [netbeans] blakemcbride opened a new issue, #4557: Incorrect auto-indent on Groovy files

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: notifications-unsubscribe@netbeans.apache.org.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