You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "Orc555 (via GitHub)" <gi...@apache.org> on 2025/04/10 22:20:05 UTC
[I] [PHP] Rename Refactor and Find Usages Does not Match all Usages [netbeans]
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.

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

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