Sublime Forum

StyleSorter, a CSS and SCSS attribute type sorter

#1

StyleSorter is a Sublime Text 3 only plugin for sorting CSS and SCSS files based on attribute type. Comments are preserved, non-attribute line order is also preserved and SCSS specific things like @import and $-variables are moved to the top.

StyleSorter can be downloaded here.

Here’s a preview of the sorting, one of the comments is removed in this preview. This was a bug and has been resolved, but I decided to keep the preview since it takes a while to record, edit, compress and upload gifs.

0 Likes