/sort-css

Atom package to sort lines of CSS properties

Primary LanguageJavaScriptMIT LicenseMIT

Sort CSS Package

This Atom package sorts CSS property lines according to Code Guide by @mdo.

Installation

From within Atom: Settings -> Install -> search for "sort-css" and click "Install" OR

From CLI: apm install sort-css and restart Atom.

Commands and Keybindings

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.