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

   ### Apache NetBeans version
   
   Apache NetBeans 31
   
   ### What happened
   
   If you name a variable "va" and format the code a second space appears right 
of the declaration of "va". If you refactor "va" and delete the additional 
space, occurrences of "va" at other places in the scope of the code will delete 
the char right of "va".
   
   ### Language / Project Type / NetBeans Component
   
   Java Maven Project
   
   ### How to reproduce
   
   Use this code:
   
   int va = 2;
   if (2 == va) {
       boolean result = true;
   }
   
   Format the Code, look at the declaration of "va", a second space will appear.
   
   Rename "va" with STRG+r, delete the second space, the closing bracket of the 
if-statement will be deleted.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   OSX 26.6.2 (25G83) (Tahoe)
   
   ### JDK
   
   OpenJDK Runtime Environment Temurin-26.0.2+10 (build 26.0.2+10)
   
   ### Apache NetBeans packaging
   
   Community provided installer
   
   ### 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