Skip to content

piyushsarkar/vscode-css-property-sorter

Repository files navigation

Sort CSS

This extension allows you to sort css properties in your CSS, SCSS and LESS files.

Features

Sort Using Shortcut

Shortcut on MacOs: option + s and on Windows/Linux: alt + s

Sort Using Sortcut

Sort Using Command Palette

Sort Using Command Palette

Sort On Save

This will sort the file whenever you save a css/scss/less file. Sort On Save

Sort Selection

Sort Selection

Extension Settings

This extension contributes the following settings:

  • sortcss.sortOnSave: Enable or disable sorting on save (default: false).
  • sortcss.sortingStrategy: Choose sorting strategy from concentric-css, alphabetical or smacss (default: concentric-css).
  • sortcss.ignoredFiles: Ignore files or path. Example: [ 'sample.css', 'src' ]
  • sortcss.manualOrder: Manual CSS sorting order.

Enjoy!

About

This extension allows you to sort css properties in your CSS, SCSS and LESS files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published