• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

css-declaration-sorter

Sorts CSS declarations fast and automatically in a certain order.
  • #postcss
  • #css
  • #declaration
  • #sorter
  • #property
Siilwyn
2.0.0 17,667
35
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by