You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This only happens to me in php files, so I assume it stems from the php extension, but please correct me if it originates somewhere else!
In PHP files, typing at the end of a variable name automatically changes all occurrences of this variable, which can be incredibly helpful for quickly renaming things without having to start a "formal" edit with F2.
Now the problem is that this is a little over-eager. If I have a variable called $values and one called $valuesArray (for example), as soon as I try to use the second variable anywhere, all occurrences of $values immediately get overwritten with $valuesArray since I have to type out the name of the first variable to get to the second one.
This only happens to me in php files, so I assume it stems from the php extension, but please correct me if it originates somewhere else!
In PHP files, typing at the end of a variable name automatically changes all occurrences of this variable, which can be incredibly helpful for quickly renaming things without having to start a "formal" edit with F2.
Now the problem is that this is a little over-eager. If I have a variable called
$valuesand one called$valuesArray(for example), as soon as I try to use the second variable anywhere, all occurrences of$valuesimmediately get overwritten with$valuesArraysince I have to type out the name of the first variable to get to the second one.Screencast_20260804_141953.webm