[TxMt] Bundle to alphabetize CSS rules

Florian Gilcher flo at andersground.net
Wed Mar 12 19:13:42 UTC 2008


On Mar 12, 2008, at 2:01 PM, pete otaqui wrote:
>
> Alphabetizing is quite helpful when you get used to it, and  
> certainly helps when you're inheriting a code base.  The script  
> seems to run very quickly, although I'm on a dual-core MBP.
>
> Thanks for your reply,
>
> Pete

Be aware that there are some other philosophies that make sense. While  
they all rely on bringing your rules in a certain order, they differ  
in the way of execution. For example, i usually practice something  
comparable but slightly different: All rules get grouped by function  
("block layout", "positioning", "font&colors" etc.) and than  
alphabetized with an empty line between each group. I do have an  
sketchbook implementation for this somewhere on my book (in ruby), but  
it is far from usable ;).

Greetings
Florian Gilcher





More information about the textmate mailing list