Skip to content

psyrendust/CSScomb-Alpha-Sort-for-Sublime

Repository files navigation

CSScomb Alpha Sort for Sublime Text 2

About

This is a unoffical fork of CSScomb for Sublime Text 2. This version of the CSScomb plugin allows you to truly sort your CSS properties in alphabetical order. CSScomb for Sublime Text only sorts the properties alphabetically after it has grouped the properties by type.

Tool for sorting CSS properties in specific order.

  • Sorting CSS properties. The order of properties in the help of professionals
  • Setting the order of CSS properties. Use the order to which you are accustomed to
  • Parsing CSS in the tags <style>, style="..." attribute. CSScomb find a CSS-code to other languages and will sort it
  • Formatting style sheets does not change. Work as a singleline and multiline CSS
  • Separation of CSS properties for the group. Separate groups of empty string if you want
  • Full support CSS2/CSS2.1/CSS3/CSS4 ;) CSScomb ready for the advanced CSS-code

The algorithm of CSScomb simulates web-technologists actions upon working with CSS-code to the limit. Usually to re-order code you move lines over each other considering comments in the code, multilines records of property values, hacks and everything that could be found in the real file. CSScomb reproduces these actions for you. This means that the parser "thinks" as a person editing the text, not as a blind robot parsing CSS.

For more info, online demo and tests see http://csscomb.com/

The Requirements

CSScomb is written in pure PHP, without any external libraries or dependencies. See details at wiki.

##Plugin usage

Select code and press ctrl+shift+c

Issues & bugs

CSScomb tracker

Authors

CSScomb core: miripiruni

Sublime plugin: i-akhmadullin

About

Tool for sorting CSS properties in alphabetical order.

Resources

Stars

Watchers

Forks

Packages

No packages published