Code style in SCSS files Follow
I'm not sure if I'm doing something wrong or if this is a bug:
When I open a new brace in a .scss file and press [ENTER], PhpStorm creates an empty line an places the cursor before the closing brace. This means I have to place the cursor one line up and press [TAB] to create the indentation. If I start typing without moving the cursor after opening the brace and pressing [ENTER], it looks like this:
This becomes very annoying when using multiple indentations:
When doing the same inside a .css file, the code style and indentaion work perfectly:
Also, in .scss files, PhpStorm doesn't add a space after the colon (like in example above), while it does so in .css files.
Is there a possibility to use the same code style for .scss files like for .css files?
Please sign in to leave a comment.
2) As for not-inserting-space -- cannot find the right ticket right now (I think I saw one already, but not 100% sure). But please have a look at these possibly related tickets:
You can try to search the Issue Tracker yourself for that or other tickets (or create new one if you cannot find any).
Thanks for clarifying! I did read this post http://devnet.jetbrains.net/message/5299570#5299570 but thought that I was messing up something with the file types. Gotta check the Issue Tracker first next time ;-)
I hope it gets fixed soon, as I'm struggling with this problem since some months now. I should have opened a ticket earlier.