Batch rename to enforce a specific style

I searched a bit here and there to find a tool that checks the code and renames a batch to ensure a certain style is respected.

Some tools, such as Checkstyle and PMD, perfectly list all the problems and are suitable for most of my projects. But this week I need to clear some "old" source code in order to rename it too much.

I could not find a tool that can provide some refactoring functions, such as: "add a prefix to all parameters / private members / ... if they do not match" ... Just to work without brains.

Is there a way to do this in eclipse?

(I have old KSH scripts that can do this work, but I would like to know if there is a way to use eclipse to do the job.)

+6
java eclipse naming-conventions refactoring code-review
source share
1 answer

Maybe Jalopy can do what you want, but it's not free. I'm actually also looking for a free alternative, even if it has fewer features, otherwise I have to implement something myself as a version control plugin.

+2
source share

All Articles