Style Sheets code style - multi value alignments

How to setup IntelliJ to automaticly align values of CSS / SCSS / Sass properties when there are multiple of them

Example:
I would like to align box-shadow values one by one to:

box-shadow: 0 2px 2px rgba(10, 16, 20, .24),
0 0 2px rgba(10, 16, 20, .12);

But instead IDEA align then like that:

box-shadow: 0 2px 2px rgba(10, 16, 20, .24),
0 0 2px rgba(10, 16, 20, .12);

which is much less readable

Same formatting would be also useful for grid-template-areas

 

Only workaround i found is to disable formatting for the lines and format is by hand :(

2 comments
Comment actions Permalink

Not currently possible, please vote for https://youtrack.jetbrains.com/issue/WEB-10013 to be notified on any progress with it

0
Comment actions Permalink

Ok, thanks :)

0

Please sign in to leave a comment.