Closed luni-moon closed 2 years ago
Reference: https://github.com/sveltejs/language-tools
So, it's more than just modifying existing configurations, I see. Is there still any way to get this to work?
So, it's more than just modifying existing configurations, I see. Is there still any way to get this to work?
The usual way to get it work is extracting relevant files from existing vscode extension. For example, these files contain the syntax definition: https://github.com/thebaselab/codeapp/tree/main/CodeApp/monaco-textmate.bundle/grammars
Ah, okay.
Currently,
*.svelte
files do not have syntax highlighting. I think (and many others that I have talked to and know) that Svelte and SvelteKit are a new-ish out and coming HTML and JS framework. It (for the most part) is HTML and JS syntax, so it shouldn't be too hard to implement. Thanks!