sublime_prefixr
sublime_prefixr copied to clipboard
Prefixr deletes properties if they are written in 'compact'/single-line format
Here's another bug with huge impact that hasn't been reported yet.
I write my CSS in 'compact'/single-line mode, like this:
div { columns:3; column-gap:0; }
and if run Prefixr on that rule, it's turned into this:
div { -webkit-column-gap:0;
-moz-column-gap:0;
column-gap:0; }
What I do for this to happen is either one of two things: either place my mouse anywhere between columns:3; column-gap:0;
or select all those properties, and then press ctrl+alt+x
However if I select the entire declaration from the selector div
to the closing bracket }
it does work.
The problem is that selecting the entire declaration can be quite cumbersome, but mostly because if you're working with an .scss
file you're going to have nested rules (and very likely quite complex in structure), so selecting the entire declaration just won't work either.
The ideal behaviors would be:
- Place your mouse on the property you want "Prefixr-ed" o_O, press
ctrl+alt+x
and that's it. - Select the properties you want Prefixer-ed, press
ctrl+alt+x
and that's it.
Thanks.