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 22:50:09 UTC

[GitHub] [netbeans] blakemcbride opened a new issue, #4556: NetBeans should not auto-insert \n\ in Groovy triple quote strings

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

   ### Apache NetBeans version
   
   Apache NetBeans 15 release candidate
   
   ### What happened
   
   In a Groovy file, when creating a triple quote string, NetBeans auto-adds \n\ at the end of each line.  This is wrong.  Groovy already does this automatically.  See the attached image
   ![pic1](https://user-images.githubusercontent.com/6467584/187050618-a573a9a7-c8b2-488c-8983-952a13cc2c97.png)
   .
   
   ### How to reproduce
   
   Create a triple-quote string in a Groovy source file.  Within the string, hit the enter key.  NetBeans auto-inserts \n\
   
   ### 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


[GitHub] [netbeans] lkishalmi commented on issue #4556: NetBeans should not auto-insert \n\ in Groovy triple quoted strings

Posted by GitBox <gi...@apache.org>.
lkishalmi commented on issue #4556:
URL: https://github.com/apache/netbeans/issues/4556#issuecomment-1229743276

   Yeah. Right now what we can do is remove the ```\n``` insertion in Groovy. Probably that would be the best.
   
   Right now the Groovy Lexer we are using could not make a difference between a simple string literal and a multi-line string literal. 


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


[GitHub] [netbeans] ppisl closed issue #4556: NetBeans should not auto-insert \n\ in Groovy triple quoted strings

Posted by GitBox <gi...@apache.org>.
ppisl closed issue #4556: NetBeans should not auto-insert \n\ in Groovy triple quoted strings
URL: https://github.com/apache/netbeans/issues/4556


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


[GitHub] [netbeans] ppisl commented on issue #4556: NetBeans should not auto-insert \n\ in Groovy triple quoted strings

Posted by GitBox <gi...@apache.org>.
ppisl commented on issue #4556:
URL: https://github.com/apache/netbeans/issues/4556#issuecomment-1230142633

   I can take over. 


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


[GitHub] [netbeans] ppisl commented on issue #4556: NetBeans should not auto-insert \n\ in Groovy triple quoted strings

Posted by GitBox <gi...@apache.org>.
ppisl commented on issue #4556:
URL: https://github.com/apache/netbeans/issues/4556#issuecomment-1232657911

   Merged in master. 


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