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
256 stars 39 forks source link

Cannot rename a variable if it is declared in "for each in" #754

Open pngdrift opened 1 month ago

pngdrift commented 1 month ago

Screencast_20240713_002117.webm

Cannot rename a variable if it is declared in "for each in", but if you rename variable inside the brackets, then it works.

joshtynjala commented 1 month ago

Good find! Thanks. I'll investigate.

joshtynjala commented 1 month ago

Fixed in apache/royale-compiler@6679e22713dacaf9ddcb4fb1fdc8517a78b82006

This fix will be included in a version of vscode-as3mxml after the next Apache Royale version is released.