Siilwyn / css-declaration-sorter-atom

Atom package to sort CSS declarations.

Home Page:https://atom.io/packages/css-declaration-sorter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS Declaration Sorter Package

Travis Build Status LGTM Grade apm

Sorts your CSS declarations, or Less and SCSS, in Atom, never gets tired. If you want to define a sort order project-wide check out the css-declaration-sorter Node.js module.

show-off

Commands and Keybindings

All of the following commands are under the atom-text-editor[data-grammar~='css'] selector.

Command Description
css-declaration-sorter:sort Sorts according to configured order in the settings
css-declaration-sorter:sort-alphabetical Sorts alphabetical
css-declaration-sorter:sort-smacss Sorts according to SMACSS
css-declaration-sorter:sort-concentric-css Sorts according to Concentric CSS

By default css-declaration-sorter:sort is mapped to ctrl-alt-c. You may want to use keyboard shortcuts for triggering the other commands. You can easily define your own.

About

Atom package to sort CSS declarations.

https://atom.io/packages/css-declaration-sorter

License:ISC License


Languages

Language:JavaScript 100.0%