0

I have the following block in css:

#id {
     font-size: 15px;
     color: #000;
     background-color: #fff;
}

Now I want Eclipse to automatically sort the properties of that block alphabetically:

#id {
     background-color: #fff;
     color: #000;
     font-size: 15px;
}

Is there a way to achive this inside Eclipse? I found this question, but there are only answers with external tools.

1 Answer 1

2

I just know about

http://www.stateofflow.com/projects/2/sortit

with which you can select the line you want to sort.

1
  • But this isn't not really auto magic as PEP8 for Python in the PyDev editor
    – Martin
    Aug 30, 2012 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.