Skip to content
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

fix: correctly position quick fixes in instance and module #2531

Merged

Conversation

paoloricciuti
Copy link
Member

@paoloricciuti paoloricciuti commented Oct 9, 2024

I took a shot at closing #2529

some tests seems to be failing but they also seems to be unrelated to the change but maybe i'm wrong. Also, i need some guidance on where and how to write new tests here 🫨

I also have a problem with indentation because the indent seems to be always an empty string...i tried logging the afterStartLineStart and it seems to consider all the content on a single lnie despite having some \n in it

Copy link
Member

@dummdidumm dummdidumm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Could you add a test for this? You can enhance the file svelte-ignore-code-action.svelte for this and add the test to the It should provide svelte ignore code actions test suite in getCodeAction.test.ts,

@dummdidumm dummdidumm merged commit 156bd7d into sveltejs:master Oct 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants