Skip to content

Lite-XL plugin to sort selected CSS properties alphabetically or using the concentric model.

License

Notifications You must be signed in to change notification settings

felixsanz/lite-xl-sortcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Lite-XL Sort CSS Plugin

Lite-XL plugin to sort selected CSS properties alphabetically or using the concentric model by Brandon Rhodes (https://rhodesmill.org/brandon/2011/concentric-css/).

This plugin is based on vscode-sort-selection-concentrically.

Installation

Navigate to the plugins folder (usually ~/.config/lite-xl/plugins) and run the following command:

git clone https://github.com/felixsanz/lite-xl-sortcss sortcss

Alternatively the init.lua file can be renamed sortcss.lua and dropped in the plugins folder.

Usage

  1. Select CSS code (must have one property per line).
  2. Press control+alt+a to sort alphabetically or control+alt+c to sort concentrically. Alternatively you can also right-click and select the appropriate option.

Demo

Demo

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

Lite-XL plugin to sort selected CSS properties alphabetically or using the concentric model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages