hayaku / hayaku

Fuzzy abbreviations, support for preprocessors (Sass, Less, Stylus) and a lot of other features in easily configurable set of tools for writing CSS faster
http://hayakubundle.com/
MIT License
971 stars 43 forks source link

Better newline after comma etc. in multiline values #193

Open kizu opened 11 years ago

kizu commented 11 years ago

We should insert better indent when going to a newline in a case like this:

  box-shadow: inset 0 1px #FFF,

Right now the cursor is jumping to the start of the normal indent, however it should be there:

  box-shadow: inset 0 1px #FFF,
              |
kizu commented 11 years ago

Also, the same should happen for CSS hen there is no semicolon or enter happens before it, but if the syntax is semicolonless, this should happen only for comma, open braces, an trailing slash if it's here.

Also, we should think if someone would want to disable it — if so, then there should be as setting for this.