Home Download Buy Blog Forum Support

Compact/Expand CSS rules

Compact/Expand CSS rules

Postby vitaLee on Sun Jun 03, 2012 1:47 pm

decided to drop this here in case someone needs it.

"command allow compacting/expanding of selected rules.
multiple selections are supported.
commands are applied to rules which are covered by selection
if there's a single empty selection then the command is applied to all rules within the document"

you can locate it here https://gist.github.com/2863474
comments and advices are appreciated since those were my first python lines. :)
Posts: 144
Joined: Tue Dec 27, 2011 11:10 pm

Re: Compact/Expand CSS rules

Postby Pwarts on Wed Dec 04, 2013 1:19 pm

Thanks for this! Got it working in Sublime Text 3 using the keyboard shortcuts.

Great stuff :D
Posts: 5
Joined: Wed Nov 07, 2012 3:10 pm

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 3 guests