mike7515 / code-beautifier

MIT License
19 stars 5 forks source link

Scss config / rules #1

Closed saltcod closed 7 years ago

saltcod commented 8 years ago

Hey there!

This ext seems to work great out of the box. I'm wondering if there's anywhere I can add some rules? I'd just like to add some spaces after nested elements. Example:

Instead of this:

.selector {
margin-top: 5px;
a {
padding 10px; 
&:after { style }
}
}

I'd love to see line breaks after the nested parts:

.selector {
margin-top: 5px;

a {
padding 10px; 

&:after { style }
}
}

Thanks very much for your time and efforts with this!

saltcod commented 8 years ago

That didn't format things too well, so here's a quick screenshot to make sure I'm coming across clearly:

https://dl.dropboxusercontent.com/s/vn80fwk1vc5f4df/2016-10-24%20at%2011.19%20PM.png

langdonx commented 7 years ago

@saltcod I'd like some more double spacing myself. Have you found any alternatives?

mike7515 commented 7 years ago

Fixed in the last release 1.7.2