Hey, I have updated the code and solved an annoying bug pretty easy to happen, so if you have installed it, make sure to update.
I tried to edit the first post but as I am a new user it seems I have some limited features in what I can or can not do, 'cause of that I am posting a reply with the changelog.
Iâm not the type thatâs going to spam though, I am only posting again because it is really an important update ;D
Hey, using the latest version I cannot get ChangeTo to work anymore.
I tried a number of different key/value pairs but the keys are just ignored and no changes made.
This was working in the previous version.
Oh, I donât have time today to see it, but tomorrow I will give a look.
But thatâs awkward, I myself am using this plugin in the latest version in Godot 4.3 and Change To is looking to work just fine.
One thing that happened to me before is to âaddâ a key and value, but forget to click the âadd keyâ button or something like it
Can you tell me what version of Godot are you using? Also, what version of the plugin?
Can you provide a screenshot from the plugin settings where it shows the dictionary of Change To?
Also, can you show me one line of you trying to use the key that is not changing?
It will help me to narrow down where the problem might be, thank you
Is it possible for the Change To feature of creating new macros to be able to detect and reuse Strings as parameters?
For example
New key: emit testingthis
New Value: MainClass.testingthis.emit()
It takes the second argument as string parameter and then reuses it for the new value
Oh, thatâs for sure strange. I am using the same version of godot and plugin as you (I am on a windows, but this shouldnât matter), tried the same key/value pairs as you, but here everything is working as it should =/
Does the other features still work? If you type âint my_intâ will it be updated?
Can you try to open another script from the list <<< and re-focus on that one and try again?
Also, have you installed any other plugin with new godot?
int my_int works and produces var my_int: int
I have not tried any other plug in with this new version of GODOT.
Can you try to open another script
I switched to another script file and âchange toâ worked normally.
I switched back to the original script file and I could not reproduce the problem I had originally.
Very strange.
I will test this on a new project and see if it happens again. Apart from that, I donât think you need put much more effort into finding a solution as this problem might be hard to track down on your end.