开发者

How to clean up combined vars declarations in Eclipse?

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 f开发者_如何学Pythonor answers.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜