tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
482 stars 38 forks source link

Support other languages like scss, sass, ts #42

Closed unlocomqx closed 5 years ago

unlocomqx commented 5 years ago

It's a good path to follow, I think If you find a better way to override HtmlLexer, please let me know Currently, it affects other non-svelte files

image

tomblachut commented 5 years ago

I'd like not to mix styles and scripts together because we need to somehow extend JS to support $ syntax and I'd like to avoid complicating things for now. Svelte does not support TS officially yet.

unlocomqx commented 5 years ago

It's for reference then, in case you want to add scss, sass support

unlocomqx commented 5 years ago

@tomblachut I made some progress regarding the labeled statement in https://github.com/unlocomqx/svelte-intellij/tree/label it needs more improvements though