This extension allows you to sort css properties in your CSS, SCSS and LESS files.
Shortcut on MacOs: option
+ s
and on Windows/Linux: alt
+ s
This will sort the file whenever you save a css/scss/less file.
This extension contributes the following settings:
sortcss.sortOnSave
: Enable or disable sorting on save (default:false
).sortcss.sortingStrategy
: Choose sorting strategy fromconcentric-css
,alphabetical
orsmacss
(default:concentric-css
).sortcss.ignoredFiles
: Ignore files or path. Example:[ 'sample.css', 'src' ]
sortcss.manualOrder
: Manual CSS sorting order.
Enjoy!