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

csscomb

Atom Editor plugin for CSScomb, http://csscomb.com
bruce
33,221
92
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Atom Editor Plugin for CSScomb

Sort properties of one or more CSS/SCSS/Less rules using CSScomb.

Installation

See the Atom docs.

$ apm install csscomb

CSScomb Configuration

The plugin uses the following strategy to determine the CSScomb configuration to use.

  • First, it looks for a user configuration; a csscomb property in your Atom config.cson.
  • Next, it looks for a project configuration; .csscomb.json or .csscomb.cson in your project root.
  • If no configuration is found, it falls back to the predefined "csscomb" configuration that ships with csscomb.js.

Your configuration can be a CSScomb configuration object or the name of a predefined configuration.

Using It

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).

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