How can I disable sorting values in an enum in eclipse 3.7? I rely on the order of the enum entries, so this breaks my neck every time I hit sort.
enum X {C,B,A} turns into enum X {A,B,C} after hitting sort members.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
or
But you really shouldn’t code based on the order the enums are declared. It’s simply wrong.