This Atom package sorts CSS property lines according to Code Guide by @mdo.
From within Atom: Settings -> Install -> search for "sort-css" and click "Install" OR
From CLI: apm install sort-css
and restart Atom.
All of the following commands are under the atom-text-editor
selector.
If any lines are selected in the active buffer, the commands operate on the selected lines. Otherwise, the commands operate on all lines in the active buffer.
Command | Description | Keybinding |
---|---|---|
sort-css:sort |
Sorts the lines (case sensitive) | F6 |
Custom keybindings can be added by referencing the above commands. To learn more, visit the Using Atom: Basic Customization or Behind Atom: Keymaps In-Depth sections in the flight manual.