tomblachut / svelte-intellij

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

Support for lang="scss" #17

Closed sorin-coza closed 5 years ago

sorin-coza commented 5 years ago

I wasted an hour until I realized that this plugin works fine with <style type="text/scss">.

I was using <style lang="scss">, because that's what the VueJS plugin uses, and that's what I used on Vue apps. Also the Svelte preprocess package is documenting lang="scss", so I thought that was the right way to do it.

So, it would be great to add support for lang="scss", since Vue developers are already used to that.

Thanks for your great plugin!

tomblachut commented 5 years ago

Definitely. Thanks for raising.

I'll note that I don't see how Pug can be supported in the near future, anyway CSS flavors should be doable.

AleksandrSl commented 5 years ago

Seems like I've got this to work using hacks from Vue plugin, will try to comprehend these hacks and make PR