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
I'm guessing you have "editor.formatOnPaste" active? Until recently that wouldn't have had any effect with Haxe, but in 2.16.0 we added support for range formatting.
We found a bug that looks very much looks this shortly after release, so chances are this is already fixed on the haxe-formatter side.
You are right! "editor.formatOnPaste" was active. Deactivating it fixes the code duplication. Looking forward for a proper fix to reenable formating on paste.
If you paste more a complete line (or more), the first subsequent element is duplicated. No matter if this is in braces, newline or whatever.
Now you paste something between the two lines the result will be:
This is 100% reproducable on my current setup:
Win 10
VSCode 1.18.1
vshaxe 2.16.0
The text was updated successfully, but these errors were encountered: