Skip to content

Over eager variable renaming #142

Description

@B4T3S

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.

Screencast_20260804_141953.webm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions