adamoutler commented on issue #3720:
URL: https://github.com/apache/netbeans/issues/3720#issuecomment-1246851108

   This issue can be clearly seen in the Project 
Properties->Formatting->Category: Alignment. 
   `try ( Resource r1 = null;`
   
   The space between `(` and `Resource` cannot be removed, but oddly if one 
visits the Project Properties->Formatting->Category: Spaces, then selects 
"try", the space doubles so the result now contains two spaces between `(` and 
`Resource`.
   `try (  Resource r1 = null;`
   
   I'm not sure how to fix this problem, but it certainly is annoying when 
running tools such as CheckStyle which declare errors in your code style unless 
you disable the rule and/or turn off all auto-formatting.  
   
   Has anyone found a workaround?
   ![Netbeans Autoformatting 
Error](https://cloud.adamoutler.com/index.php/apps/files_sharing/publicpreview/giLMaq7qmxMppEz?file=/autoformat.jpg&fileId=381780&x=2880&y=1620&a=true)


-- 
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-unsubscr...@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to