could anyone advice an option in Eclipse IDE for cleaning up combined vars declarations. I was unable to find one in “Clean up” settings for Eclipse.
To turn this:
int a=0, b, c;
into this:
int a=0; int b; int c;
Thanks for answers.
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.
I don’t know of a setting or a plugin which would do precisely that kind of refactoring.
That would then be a good candidate for an AST (Abstract Syntax tree) plugin, like you can find in this JDT – AST Tutorial.