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
Sometimes when I rename a variable, such as a constant or class name, anything that has a similar name but is not related to a variable get renamed too, renaming symbols does not take in account object properties and sometimes renaming will not work at all.
example:
classThingextendsReference:
varfoo: bool=false; # Want to rename this to "different".funcbar () ->void:
varnew_thing: =Thing.new();
varfoo: bool=true; # this is renamed to "different".new_thing.foo=true; # This is untouched.forainrange(10): # renaming a to b does nothing.print(a);
Steps to reproduce
right click -> rename symbol
I tried classes and loops, those seem to have more problems.
The text was updated successfully, but these errors were encountered:
GianptDev
changed the title
Rename symbol sometimes broke and rename stuff with similar name.
Rename symbol sometimes does not work properly
Jan 31, 2023
Godot version
3.5.stable
VS Code version
1.74.2
Godot Tools VS Code extension version
1.3.1
System information
Windows 10
Issue description
Sometimes when I rename a variable, such as a constant or class name, anything that has a similar name but is not related to a variable get renamed too, renaming symbols does not take in account object properties and sometimes renaming will not work at all.
example:
Steps to reproduce
right click -> rename symbol
I tried classes and loops, those seem to have more problems.
The text was updated successfully, but these errors were encountered: