BowlerHatLLC / vscode-as3mxml

ActionScript & MXML language extension for Visual Studio Code. Develop apps for Adobe AIR, Adobe Flash Player, or Apache Royale.
https://as3mxml.com/
Apache License 2.0
257 stars 39 forks source link

Error when renaming a function #764

Closed ylazy closed 1 month ago

ylazy commented 2 months ago

Hi!

When I renamed input to Input

image

The result:

image

The actual result is: XInputt The expected result is: X.Input

Please review this.

Thank you!

joshtynjala commented 1 month ago

Unfortunately, I am unable to reproduce this issue when I try to recreate the code from your screenshot in my editor. Can you share a simple example that can reproduce the issue? Thanks!

ylazy commented 1 month ago

Unfortunately if I create a simple example then the renaming is correct. The function Input is put inside a class called Tools that is referencing to hundreds of files. I'll try to create a more complex example to see if the problem happen again. If yes I'll create a new issue.

Thank you!

joshtynjala commented 1 month ago

If yes I'll create a new issue.

Please continue to comment on this issue if you see the problem happen again and can reproduce. Thanks!