Sort properties of one or more CSS/SCSS/Less rules using CSScomb.
See the Atom docs.
$ apm install csscomb
The plugin uses the following strategy to determine the CSScomb configuration to use.
csscomb
property in your Atom
config.cson
..csscomb.json
or .csscomb.cson
in your project root.Your configuration can be a CSScomb configuration object or the name of a predefined configuration.
Press ctrl-alt-c
or choose Packages -> CSScomb -> Sort
or
Edit -> Lines -> Sort with CSScomb
.
You can limit what CSScomb processes by using selections.
Note: Make sure to select entire CSS rules (selector, braces, and properties; valid CSS), not just the property list.
The plugin uses the name of the file to determine the syntax (css, scss, or less).
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.