Closed yinluobing closed 3 weeks ago
Hi there @yinluobing and thanks for reporting!
I'm trying to repro but it's working for me, so I will need some more details to understand what is going wrong:
https://github.com/user-attachments/assets/6582f2ad-9d09-49bd-8cbf-6b630eef2079
.svelte
file?Just in case, try to update your VS Code and Abracadabra extension just to be sure you are on the latest versions.
Thanks 😉
邮件已收到,回头给你回复! 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
Closing this issue because I can't repro it. Feel free to re-open one if you figure out more details to repro. See my suggestions in my previous comment 😉
@nicoespeon First of all, thank you for this amazing extension.
It is straightforward to replicate this bug in vue (vue 3 in my case) with the options API.
Thanks for the recording @acabreragnz, that's gonna be quite helpful for me. I'll have another look at that and see why it doesn't work in this case 😃
Great news: I figured out what happened!
We were miscalculating the position of the cursor when executing the refactoring since the changes I made in 9.2.1 to preserve the position with an action provider: https://github.com/nicoespeon/abracadabra/commit/dc175c49a93f5e3311061de05190df1bdaa798ec
That was an easy fix. And I failed to repro because my repro didn't involve content above the <script>
tag 😓
Shipping a new release with that. Abracadabra should become usable on Vue files again now.
@allcontributors please add yinluobing and acabreragnz for bug
Thank you guys for the report 😉
@nicoespeon
I've put up a pull request to add @yinluobing! :tada:
@allcontributors please add acabreragnz for bug
@nicoespeon
I've put up a pull request to add @acabreragnz! :tada:
@nicoespeon you are amazing, and now I understand why abracadabra is so cool.
Thank you very much!
Describe the bug
I didn't find a valid if statement to convert from current selection I didn't find a valid...
Screenshots
vue3 typescript setup