Skip to content

Conversation

dummdidumm
Copy link
Member

@dummdidumm dummdidumm commented Dec 12, 2024

This adds support for the Svelte parser with its new loose mode and adjusts code paths to make use of it properly. As a result, intellisense should be a lot more useful in situations where code is in the middle of being typed and the Svelte file is in a broken state.

Demo (note how autocompletion works in broken states):

intellisense-demo.mp4

Needs sveltejs/svelte#14691

Fixes #2499
Fixes #1916
Fixes #1884
Fixes #776
Fixes #1990
Fixes #1302

This adds support for the Svelte parser with its new loose mode and adjusts code paths to make use of it properly. As a result, intellisense should be a lot more useful in situations where code is in the middle of being typed and the Svelte file is in a broken state.
@dummdidumm dummdidumm marked this pull request as draft December 12, 2024 14:37
@dummdidumm dummdidumm marked this pull request as ready for review December 17, 2024 10:20
@dummdidumm dummdidumm merged commit ac10174 into master Dec 17, 2024
3 checks passed
@dummdidumm dummdidumm deleted the loose-parser branch December 17, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment