Stylus lang in style tag
I decided to give WebStorm a try and encountered a very irritating problem that prevents me from switching to WebStorm completely.
I work on a Vue project and I actively utilize single file components structure. I also use Stylus as a CSS preprocessor.
The problem is that when I write <style lang="stylus"> IDE doesn't offer the same editor experience as if I use separated file with .styl extension.
Like, it doesn't use correct indentations (I have to indent manually, when you enter tag name and press Enter it doesn't put indentation on next line, TAB also inserts 4 spaces instead of 2), sometimes it suggests wrong items in autocompletion.
Do I miss something in settings or currently it's not possible to use the same editing both in .styl files and in style tags with lang="stylus" attribute?
Edit: I just checked and noticed that it doesn't work for other preprocessors as well, WebStorm doesn't put the same indentation in style tag and separated file.
Please sign in to leave a comment.
Please follow https://youtrack.jetbrains.com/issue/WEB-30024 and https://youtrack.jetbrains.com/issue/WEB-25863 for updates
OK... Hope it won't take ages, great IDE overall.
It has been 2 years now.. any news on this bug? It's becoming more and more annoying..