CodeEditApp/CodeEditLanguages

❇️ Add Svelte support

EstebanBorai opened this issue · 9 comments

Is blocked by LSP integration (No issue available yet)

Language Name

Svelte

Tree-Sitter Grammar

https://github.com/Himujjal/tree-sitter-svelte

I will work on this

Yes

Additional Info (optional)

No response

This should probably eventually be moved into a Svelte extension. Because extensions are not quite ready, this can go into core for the time being.

Is there an update on this? I'd really like to use codeedit for real and kinda need svelte support at the very least, happy to test any implementation and send feedback!

Is there an update on this? I'd really like to use codeedit for real and kinda need svelte support at the very least, happy to test any implementation and send feedback!

Hey @mattpilott! I gave this a shot a while ago and had a compile time issue due to duplicated symbols in C header files between Tree Sitter Svelte and Tree Sitter HTML.

Here are some details: #60

Here is the issue I reported back in the day: Himujjal/tree-sitter-svelte#43

@austincondiff how far off is something like this svelte support? Again be great to be able to use codeedit day to day and provide real feedback!

I think we could have a fork on tree-sitter-svelte perhaps? Or stick for Svelte for both? HTML and Svelte?

I'd leave this for now. Things like Svelte and Vue and React are more frameworks/libraries than languages. As such they rely way more on LSP etc. So we might want to fix that first

I suggest we mark this issue in a way other users know it will be introduced after LSP. That way we focus attention on the actual priorities.

What do you think?

Yup, I agree. I'm reworking some of the labels and project boards, so I'll take this one with it