Sorting CSS code ascending -


i triying sort css code, no luck.
have css code of more 2000 lines, not possible sort them manually.

for example want sort this:

#sidebar{color:#aaa} body{font-size:20px} #sidebar .h3{color:#555} footer{border:solid 1px #eee} 

... this:

body{font-size:20px} footer{border:solid 1px #eee} #sidebar{color:#aaa} #sidebar .h3{color:#555} 

is there plugin notepad++ or online site doing this?

you'll need plugin notepad++ if want sort:

  1. menu => plugins => plugin manager => show plugin manager
  2. available => textfx characters => press install , restart notepad++ when asked (save work).
  3. select text sorted
  4. menu => textfx tools => sort lines * (there's multiple options here)

    enter image description here

of course, proper editor have built-in ;)


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -