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

   ### Apache NetBeans version
   
   Apache NetBeans 25
   
   ### What happened
   
   When renaming a variable, not all usages seem to be targeted, leading some 
to not be renamed. Similar behavior appears to be happening when running "Find 
Usage" on the variable name.
   
   In this image the second usage of "$tablerefs" was renamed but only the ones 
following are targeted for rename. However this behavior has been seen in other 
contexts where the section seems arbitrary.
   
   
![Image](https://github.com/user-attachments/assets/59343d36-f76c-42be-bcac-a14bd0b95153)
   
   ### Language / Project Type / NetBeans Component
   
   PHP project
   
   ### How to reproduce
   
   While variable is focused on, press the Ctrl+R hotkey
   
   ### Did this work correctly in an earlier version?
   
   Apache NetBeans 20
   
   ### Operating System
   
   Linux Mint 22.1 Cinnamon 6.4.8
   
   ### JDK
   
   java 23.0.1 2024-10-15
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   The issue is not consistent: sometimes it works while others it does not. 
Not sure what causes it, though it could be after having had NetBeans open for 
several hours of development. 
   
   Using the Rename Refactor dialog may not have the same issue:
   
![Image](https://github.com/user-attachments/assets/2d69eaf7-f0e4-4a93-a40d-545bce9ab790)
   
   ### 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: notifications-unsubscr...@netbeans.apache.org.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