clubmate.fi

A good[ish] website

Web development blog, loads of UI and JavaScript topics

Make alphabetising CSS properties in Sublime Text easy with CSScomb

Filed under: Tooling— Tagged with: text editor

How to make CSScomb alphabetize CSS properties.

CSScomb is not fully functional with SCSS yet, this bug is especially irritating. But it’s a great tool for alphabetizing CSS properties, but, it won't alphabetize the properties automatically, you have yo set them up yourself.

Installation and setup

Install the CSScomb plugin via Package Control.

Custom configuration is fun and simple: just put .csscomb.json file in the project root or your HOME directory.

Or define a custom location in CSScomb JS.sublime-settings file.

Below is my custom config file. I basically just brutally alphabetized everything.

You can alphabetize lines in Sublime Text by simply choosing the text and pressing F5.

Loading...

Comments would go here, but the commenting system isn’t ready yet, sorry.

  • © 2022 Antti Hiljá
  • About
  • All rights reserved yadda yadda.
  • I can put just about anything here, no one reads the footer anyways.
  • I love u!