-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename symbol wierd behaviour #448
Comments
No, I've never seen that, but that's pretty funny. 😄 Any idea how to reproduce that / does that happen consistently? |
It happens for 3 of our devs, different machines. consistently. |
In any case, not much to be done if it can't be reproduced - seems to work fine on my end. |
hum... |
Ok so I tried on an other project, disabling most of the other extensions. Here is the behaviour in video : what you can see here :
Any idea of some tech stuff I can look at ? |
I don't think there's any settings which would be relevant here... |
ahah. Well, that still could be interessting for me to see someone else settings. Otherwise, do you have something in mind that could explain that behaviour ? (which is consistent here for several people) |
Nope, no idea. 😄 Does that happen even in a hello world project? |
not better: https://streamable.com/ax944k Are you sure it does work for you ? ^^ |
wow. Alright then. |
You're using latest vshaxe? You said Haxe Extension Pack 1.3.0, but the version of that is pretty irrelevant. |
Seriously?
Never though to check that, being sûre it was juste a bundle to the latest
version of the libs...i'll check that tomorrow....
Le mer. 1 juil. 2020 à 17:43, Jens Fischer <notifications@github.com> a
écrit :
… You're using latest vshaxe? You said Haxe Extension Pack 1.3.0, but the
version of that is pretty irrelevant.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#448 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWHFKYH4VGIY3GDMW34TXDRZNKTLANCNFSM4ONGVIDA>
.
|
Hi! Here's a self-contained example: Hello.zip class Hello {
function new() {}
function foo() {
for (i in 0...10) {
trace(i);
}
}
static function main() {
new Hello().foo();
}
} After placing the caret on the first "foo" (function declaration) and pressing F2 to rename the symbol, it seems all letters from the original symbol must occur in the new name for anything to happen. And even then, the renaming acts strangely. Here are some examples of what happens for me:
Similarly, renaming Please let me know if there's anything I can do to help troubleshoot this further. Thank you! |
Can you share the exact version of the plugin you use?
.vscode folder and its json as well?
It must have an explanation Somewhere.
Le jeu. 2 juil. 2020 à 20:56, Jens Fischer <notifications@github.com> a
écrit :
… @ee-ij <https://github.com/ee-ij> There's no support for renaming fields (
#188 <#188>). You should see this
message when trying to rename foo:
[image: image]
<https://user-images.githubusercontent.com/2620907/86398524-07d1bb80-bca6-11ea-9d23-cf885c14f083.png>
I can't reproduce the problems with renaming i either.
[image: HMxR90DolF]
<https://user-images.githubusercontent.com/2620907/86398831-8595c700-bca6-11ea-8eb2-de7dfdeac087.gif>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#448 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWHFK3AOAOLLISPNSJWGDLRZTJ7RANCNFSM4ONGVIDA>
.
|
I used @ee-ij's self-contained example project there with vshaxe 2.21.0. ¯\_(ツ)_/¯ |
Would you mind to share thhe list of your extensions and versions so we can try to reproduice your environnement? Are you on Windows ? |
Thanks @AlexHaxe for the test and confirmation of the issue. What sounds strange, is the fact @Gama11 cannot reproduce it. We did some test on a fresh VM, standalone project, windows and linux, and latest official haxe and plugin + vscode editor, and we have the error easily reproductible. |
Looks like this only reproduces with vshaxe compiled in release mode (rather than debug which I was using before) for some reason... 🤦♂️ |
Seems that minification with uglify-es breaks something. |
See video for detailed behaviour :
https://slack-files.com/TFQ2HEP8R-F016CF632GK-fab56fb779
System:
Haxe 4.0.3 & Haxe 4.1.2
VsCode with
Haxe Extension Pack 1.3.0
Any idea of what is creating that behaviour? in addition to that, the symbol inside the blocks aren't renammed the same way.
thanks
The text was updated successfully, but these errors were encountered: